From 220a5f5c173bf0d79a2235f008214634296a0aa5 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Thu, 27 Jan 2011 07:22:13 +0100 Subject: [PATCH] Extend test_get_component_by_package_suite() even more. Signed-off-by: Torsten Werner --- tests/dbtest_packages.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.5