]> git.decadent.org.uk Git - dak.git/commitdiff
Merge branch 'master' into dbtests
authorTorsten Werner <twerner@debian.org>
Thu, 3 Mar 2011 22:49:50 +0000 (23:49 +0100)
committerTorsten Werner <twerner@debian.org>
Thu, 3 Mar 2011 22:49:50 +0000 (23:49 +0100)
Conflicts:
tests/dbtest_contents.py

1  2 
tests/dbtest_contents.py

index 1cfe46b79276afedbedbccd65d8f544be116d234,49db68489e0e084f6dba79e8acbdf379140381cd..b651204216345d681f7c0548eb15c37001d73250
@@@ -154,8 -154,8 +154,10 @@@ 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'])
 +        # test unicode support
 +        self.binary['hello_2.2-1_i386'].contents.append(BinContents(file = '\xc3\xb6'))
          self.session.commit()
  
      def test_scan_contents(self):