X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=tests%2Fdbtest_contents.py;h=56e29eb219448444c368d9eac15be8d6e9e28ae0;hb=c0c3d62a480a477a0beed6cc1b6ad60e2a517088;hp=49db68489e0e084f6dba79e8acbdf379140381cd;hpb=07b19818770def40f9e8df953cf00f859bbd6299;p=dak.git diff --git a/tests/dbtest_contents.py b/tests/dbtest_contents.py index 49db6848..56e29eb2 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 unicode support + self.binary['hello_2.2-1_i386'].contents.append(BinContents(file = '\xc3\xb6')) + self.session.commit() # test delete cascading self.session.delete(self.binary['hello_2.2-1_i386']) self.session.commit()