From 730871ddfd59d76a036b045e9872c59e34e6308e Mon Sep 17 00:00:00 2001 From: mprahl Date: Thu, 4 Apr 2019 09:28:42 -0400 Subject: [PATCH] Fix the test_submit_br_metadata_only_module unit test on Python 3 --- tests/test_build/test_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_build/test_build.py b/tests/test_build/test_build.py index eea8ccda..b86634c0 100644 --- a/tests/test_build/test_build.py +++ b/tests/test_build/test_build.py @@ -1403,7 +1403,7 @@ class TestBuild: def on_buildroot_add_repos_cb(cls, dependencies): # Make sure that the metadata module is not present since it doesn't have a Koji tag - assert dependencies.keys() == ['module-f28-build'] + assert set(dependencies.keys()) == set(['module-f28-build']) FakeModuleBuilder.on_buildroot_add_repos_cb = on_buildroot_add_repos_cb stop = module_build_service.scheduler.make_simple_stop_condition(db.session)