diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-11-14 13:31:18 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-11-14 13:31:18 +0900 |
commit | b5fb8a21a5eaaf820355f5bfbfc2bda48df12d29 (patch) | |
tree | 621b62206c3448f752a54db9b81de2649f01b84a /tests/plugins | |
parent | 1671daf03bd6fad7afba603188d782a332b57a9b (diff) | |
download | buildstream-b5fb8a21a5eaaf820355f5bfbfc2bda48df12d29.tar.gz |
tests/plugins/basics.py: Removed unused function parameter
Diffstat (limited to 'tests/plugins')
-rw-r--r-- | tests/plugins/basics.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/plugins/basics.py b/tests/plugins/basics.py index 1e844fcd5..0654b08af 100644 --- a/tests/plugins/basics.py +++ b/tests/plugins/basics.py @@ -14,7 +14,7 @@ DATA_DIR = os.path.join( # Simple fixture to create a PluginBase object that # we use for loading plugins. @pytest.fixture() -def plugin_fixture(datafiles): +def plugin_fixture(): return { 'base' : PluginBase(package='buildstream.plugins') } @@ -164,7 +164,6 @@ def test_source_multicontext(plugin_fixture, datafiles): foo_type1 = factory1.lookup('foo') foo_type2 = factory2.lookup('foo') - assert(foo_type1.__name__ == 'FooSource') assert(foo_type2.__name__ == 'AnotherFooSource') @@ -181,6 +180,5 @@ def test_element_multicontext(plugin_fixture, datafiles): foo_type1 = factory1.lookup('foo') foo_type2 = factory2.lookup('foo') - assert(foo_type1.__name__ == 'FooElement') assert(foo_type2.__name__ == 'AnotherFooElement') |