Show More
@@ -292,11 +292,13 b' def test_omit__names():' | |||
|
292 | 292 | s,matches = c.complete('ip.') |
|
293 | 293 | nt.assert_in('ip.__str__', matches) |
|
294 | 294 | nt.assert_in('ip._hidden_attr', matches) |
|
295 | cfg = Config() | |
|
295 | 296 | cfg.IPCompleter.omit__names = 1 |
|
296 | 297 | c.update_config(cfg) |
|
297 | 298 | s,matches = c.complete('ip.') |
|
298 | 299 | nt.assert_not_in('ip.__str__', matches) |
|
299 | 300 | nt.assert_in('ip._hidden_attr', matches) |
|
301 | cfg = Config() | |
|
300 | 302 | cfg.IPCompleter.omit__names = 2 |
|
301 | 303 | c.update_config(cfg) |
|
302 | 304 | s,matches = c.complete('ip.') |
General Comments 0
You need to be logged in to leave comments.
Login now