Signed-off-by: Chris Lamb <lamby@debian.org>
format = format[:2]
if is_a_dsc:
- # format = (0,0) are missing format headers of which we still
- # have some in the archive.
- if format != (1,0) and format != (0,0) and \
+ if format != (1,0) and \
format != (3,0,"quilt") and format != (3,0,"native"):
raise UnknownFormatError, txt
else:
self.assertFormat('1.0', (1, 0))
def testZero(self):
- self.assertFormat('0.0', (0, 0))
+ self.assertInvalidFormat('0.0')
def testNative(self):
self.assertFormat('3.0 (native)', (3, 0, 'native'))