From: Torsten Werner Date: Thu, 27 Jan 2011 06:22:13 +0000 (+0100) Subject: Extend test_get_component_by_package_suite() even more. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=220a5f5c173bf0d79a2235f008214634296a0aa5;p=dak.git Extend test_get_component_by_package_suite() even more. Signed-off-by: Torsten Werner --- diff --git a/tests/dbtest_packages.py b/tests/dbtest_packages.py index 44ec0efe..f4749aca 100755 --- a/tests/dbtest_packages.py +++ b/tests/dbtest_packages.py @@ -551,6 +551,8 @@ class PackageTestCase(DBDakTestCase): result = get_component_by_package_suite('foobar', ['sid'], self.session) self.assertEqual(None, result) # test that the newest version is returend + result = get_component_by_package_suite('gnome-hello', ['squeeze'], self.session) + self.assertEqual('main', result) result = get_component_by_package_suite('gnome-hello', ['sid'], self.session) self.assertEqual('contrib', result)