From: Torsten Werner Date: Wed, 2 Mar 2011 19:00:07 +0000 (+0100) Subject: Add a test for the new cascade rule. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=07b19818770def40f9e8df953cf00f859bbd6299;p=dak.git Add a test for the new cascade rule. Signed-off-by: Torsten Werner --- diff --git a/tests/dbtest_contents.py b/tests/dbtest_contents.py index 74026019..49db6848 100755 --- a/tests/dbtest_contents.py +++ b/tests/dbtest_contents.py @@ -154,6 +154,9 @@ class ContentsTestCase(DBDakTestCase): self.otype['udeb'], self.comp['main']) self.assertEqual('tests/fixtures/ftp/squeeze/main/Contents-i386.gz', \ cw.output_filename()) + # test delete cascading + self.session.delete(self.binary['hello_2.2-1_i386']) + self.session.commit() def test_scan_contents(self): self.setup_binaries()