forked from VimPlug/jedi
Don't need the tests from #122
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
foo = 'ns1_nested_file!'
|
|
||||||
@@ -25,7 +25,6 @@ def test_goto_definition(Script):
|
|||||||
('from pkg.ns1_folder import foo', 'ns1_folder!'),
|
('from pkg.ns1_folder import foo', 'ns1_folder!'),
|
||||||
('from pkg.ns1_file import foo', 'ns1_file!'),
|
('from pkg.ns1_file import foo', 'ns1_file!'),
|
||||||
('from pkg import foo', 'ns1!'),
|
('from pkg import foo', 'ns1!'),
|
||||||
('from pkg.nested.ns1_nested_file import foo', 'ns1_nested_file!'),
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
def test_goto_assignment(Script, source, solution):
|
def test_goto_assignment(Script, source, solution):
|
||||||
@@ -39,7 +38,7 @@ def test_simple_completions(Script):
|
|||||||
completions = script_with_path(Script, 'from pkg import ').completions()
|
completions = script_with_path(Script, 'from pkg import ').completions()
|
||||||
names = [str(c.name) for c in completions] # str because of unicode
|
names = [str(c.name) for c in completions] # str because of unicode
|
||||||
compare = ['foo', 'ns1_file', 'ns1_folder', 'ns2_folder', 'ns2_file',
|
compare = ['foo', 'ns1_file', 'ns1_folder', 'ns2_folder', 'ns2_file',
|
||||||
'pkg_resources', 'pkgutil', 'nested', '__name__', '__path__',
|
'pkg_resources', 'pkgutil', '__name__', '__path__',
|
||||||
'__package__', '__file__', '__doc__']
|
'__package__', '__file__', '__doc__']
|
||||||
# must at least contain these items, other items are not important
|
# must at least contain these items, other items are not important
|
||||||
assert set(compare) == set(names)
|
assert set(compare) == set(names)
|
||||||
|
|||||||
Reference in New Issue
Block a user