File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -300,17 +300,17 @@ def test_simple_attribute_complete(self):
300
300
301
301
def test_substring_attribute_complete (self ):
302
302
self .repl = FakeRepl ({'autocomplete_mode' : autocomplete .SUBSTRING })
303
- self .repl .input_line = "Foo.ar "
304
- self .repl .current_word = "Foo.ar "
303
+ self .repl .input_line = "Foo.az "
304
+ self .repl .current_word = "Foo.az "
305
305
306
- code = "class Foo():\n \t def bar (self):\n \t \t pass\n "
306
+ code = "class Foo():\n \t def baz (self):\n \t \t pass\n "
307
307
for line in code .split ("\n " ):
308
308
self .repl .push (line )
309
309
310
310
self .assertTrue (self .repl .complete ())
311
311
self .assertTrue (hasattr (self .repl .completer ,'matches' ))
312
312
self .assertEqual (self .repl .completer .matches ,
313
- ['Foo.bar ' ])
313
+ ['Foo.baz ' ])
314
314
315
315
def test_fuzzy_attribute_complete (self ):
316
316
self .repl = FakeRepl ({'autocomplete_mode' : autocomplete .FUZZY })
You can’t perform that action at this time.
0 commit comments