]> git.decadent.org.uk Git - dak.git/commitdiff
Test suite_name in test_upload()
authorTorsten Werner <twerner@debian.org>
Sat, 22 Jan 2011 12:43:51 +0000 (13:43 +0100)
committerTorsten Werner <twerner@debian.org>
Sat, 22 Jan 2011 12:44:30 +0000 (13:44 +0100)
Signed-off-by: Torsten Werner <twerner@debian.org>
tests/dbtest_packages.py

index a7eef8fc0de71975806e11bf7e1aaed3ebb2b898..732cccccba0163a316088d6933877172c81b40dc 100755 (executable)
@@ -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)