X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=tests%2Fdbtest_packages.py;h=8c004cd61fba12f0fa893b618e9e00a36732a738;hb=227db2f1b21c06ec076c88f79850daf0f154b900;hp=f25884cebd95ddaed938cccdee0a46185c0f9bbd;hpb=911e09c4a2d398265659c35c3a90c9edef4bff0d;p=dak.git diff --git a/tests/dbtest_packages.py b/tests/dbtest_packages.py index f25884ce..8c004cd6 100755 --- a/tests/dbtest_packages.py +++ b/tests/dbtest_packages.py @@ -370,8 +370,9 @@ class PackageTestCase(DBDakTestCase): def test_components(self): 'test class Component' - self.assertEqual(self.loc['main'], self.comp['main'].location) - self.assertEqual(self.loc['contrib'], self.comp['contrib'].location) + self.assertEqual([self.loc['main']], self.comp['main'].location) + self.assertEqual([self.loc['contrib']], self.comp['contrib'].location) + self.assertEqual(0, self.comp['main'].overrides.count()) def test_get_component_by_package_suite(self): 'test get_component_by_package_suite()'