X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=tests%2Ftest_srcformats.py;h=42ff63898059b0c5c76b771281f0ecf7aa2fb13f;hb=7c5adcf962fe99d6a42307595f263f47d0112fbc;hp=fa6f3b386c34aa3706d62b359f2755dc31ca70c1;hpb=0872b2e0b78670c91fd2bf0bda52e5761e079820;p=dak.git diff --git a/tests/test_srcformats.py b/tests/test_srcformats.py index fa6f3b38..42ff6389 100755 --- a/tests/test_srcformats.py +++ b/tests/test_srcformats.py @@ -56,6 +56,12 @@ class FormatOneTestCase(SourceFormatTestCase): 'native_tar_gz': 1, 'debian_diff': 1, }) + self.assertRejected({ + 'orig_tar': 1, + 'orig_tar_gz': 1, + 'debian_diff': 1, + 'orig_tar_sig': 1, + }) class FormatTreeTestCase(SourceFormatTestCase): fmt = srcformats.FormatThree @@ -123,4 +129,5 @@ class FormatFromStringTestCase(DakTestCase): self.assertInvalid('8.4 (hardy)') if __name__ == '__main__': + import unittest unittest.main()