diff options
author | Tristan Maat <tristan.maat@codethink.co.uk> | 2017-09-12 17:30:31 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-09-14 14:36:32 -0400 |
commit | 28456348c01b6c949f9e9139bc75cc2e2e3f6f08 (patch) | |
tree | dfbe6fd114449e842a1fd56e40597c5ecfe28521 | |
parent | 1d230372d911cf5ec2b88214c7ba378761069d2d (diff) | |
download | buildstream-28456348c01b6c949f9e9139bc75cc2e2e3f6f08.tar.gz |
Fix affected test cases
-rw-r--r-- | tests/plugins/basics.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/plugins/basics.py b/tests/plugins/basics.py index e12dfd14f..db72a29bc 100644 --- a/tests/plugins/basics.py +++ b/tests/plugins/basics.py @@ -48,7 +48,7 @@ def test_custom_source(plugin_fixture, datafiles): datafiles.basename)]) assert(isinstance(factory, SourceFactory)) - foo_type = factory.lookup('foo') + foo_type, _ = factory.lookup('foo') assert(foo_type.__name__ == 'FooSource') @@ -59,7 +59,7 @@ def test_custom_element(plugin_fixture, datafiles): datafiles.basename)]) assert(isinstance(factory, ElementFactory)) - foo_type = factory.lookup('foo') + foo_type, _ = factory.lookup('foo') assert(foo_type.__name__ == 'FooElement') @@ -237,8 +237,8 @@ def test_source_multicontext(plugin_fixture, datafiles): assert(isinstance(factory1, SourceFactory)) assert(isinstance(factory2, SourceFactory)) - foo_type1 = factory1.lookup('foo') - foo_type2 = factory2.lookup('foo') + foo_type1, _ = factory1.lookup('foo') + foo_type2, _ = factory2.lookup('foo') assert(foo_type1.__name__ == 'FooSource') assert(foo_type2.__name__ == 'AnotherFooSource') @@ -258,7 +258,7 @@ def test_element_multicontext(plugin_fixture, datafiles): assert(isinstance(factory1, ElementFactory)) assert(isinstance(factory2, ElementFactory)) - foo_type1 = factory1.lookup('foo') - foo_type2 = factory2.lookup('foo') + foo_type1, _ = factory1.lookup('foo') + foo_type2, _ = factory2.lookup('foo') assert(foo_type1.__name__ == 'FooElement') assert(foo_type2.__name__ == 'AnotherFooElement') |