Move the tests for the last PR #848.

This commit is contained in:
Dave Halter
2017-02-04 18:11:14 +01:00
parent 37d7b85ed1
commit b6e61133d8
2 changed files with 12 additions and 16 deletions

View File

@@ -83,19 +83,3 @@ def test_method_completion():
else:
result = ['__func__']
assert [c.name for c in Script(code).completions()] == result
def test_decorator_global():
code = dedent('''
import abc
@abc''')
result = ['abc']
assert [c.name for c in Script(code).completions()] == result
def test_decorator_dotted():
code = dedent('''
import abc
@abc.abstractmethod''')
result = ['abstractmethod']
assert [c.name for c in Script(code).completions()] == result