X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=tests%2Fdbtest_contents.py;h=622e4aaf80d857fa16247c2e779253a794ec01a7;hb=e8df34db4cc473d53136905027307484400fdf0d;hp=43cf838cace46628e59c32872dfca1b36834b533;hpb=55b3836c58609850f760f3ed26cc6c868053c6ba;p=dak.git diff --git a/tests/dbtest_contents.py b/tests/dbtest_contents.py index 43cf838c..622e4aaf 100755 --- a/tests/dbtest_contents.py +++ b/tests/dbtest_contents.py @@ -145,9 +145,7 @@ class ContentsTestCase(DBDakTestCase): cw.get_list()) # test formatline and sort order self.assertEqual('/usr/bin/hello python/hello\n', \ - cw.formatline('/usr/bin/hello', ['python/hello'])) - self.assertEqual('/usr/bin/hello editors/emacs,python/hello,utils/sl\n', \ - cw.formatline('/usr/bin/hello', ['editors/emacs', 'python/hello', 'utils/sl'])) + cw.formatline('/usr/bin/hello', 'python/hello')) # test output_filename self.assertEqual('tests/fixtures/ftp/dists/squeeze/Contents-i386.gz', \ normpath(cw.output_filename()))