From: Torsten Werner Date: Sat, 22 Jan 2011 12:43:51 +0000 (+0100) Subject: Test suite_name in test_upload() X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d1e330cc1417b0006706beb44242de10cf8fb7a5;p=dak.git Test suite_name in test_upload() Signed-off-by: Torsten Werner --- diff --git a/tests/dbtest_packages.py b/tests/dbtest_packages.py index a7eef8fc..732ccccc 100755 --- a/tests/dbtest_packages.py +++ b/tests/dbtest_packages.py @@ -314,6 +314,7 @@ class PackageTestCase(DBDakTestCase): self.session.refresh(source) self.assertEqual('hello', source.source) self.assertEqual('2.2-2', source.version) + self.assertEqual('sid', source.suites[0].suite_name) self.assertEqual('main', dsc_component) # no dsc files defined above self.assertEqual(None, dsc_location_id)