Make a first test working with mixed objects.

This commit is contained in:
Dave Halter
2016-05-18 11:49:50 +02:00
parent ef314a5c38
commit d93d31feb8
3 changed files with 23 additions and 7 deletions

View File

@@ -56,7 +56,7 @@ def test_side_effect_completion():
we need some mixed kind of magic for tests.
"""
_GlobalNameSpace.SideEffectContainer.foo = 1
foo = get_completion('foo', _GlobalNameSpace.__dict__)
foo = get_completion('SideEffectContainer.foo', _GlobalNameSpace.__dict__)
assert foo.name == 'foo'