~jelmer/bzr-builddeb/relative-imports

« back to all changes in this revision

Viewing changes to tests/test_import_dsc.py

  • Committer: Andrew Starr-Bochicchio
  • Date: 2013-09-10 22:49:50 UTC
  • mfrom: (738.1.1 bts720003)
  • Revision ID: a.starr.b@gmail.com-20130910224950-lquiqjqz1ihxiyrv
* tests/test_import_dsc.py:
 - As of dpkg 1.17.0, source format '3.0 (native)' strictly
   enforces that native packages do not have a Debian revision.
   Use "0.1" instead of "0.1-1" for the version number in
   test_extract_format3_native (Closes: #720003). 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1963
1963
            extractor.cleanup()
1964
1964
 
1965
1965
    def test_extract_format3_native(self):
1966
 
        version = Version("0.1-1")
 
1966
        version = Version("0.1")
1967
1967
        name = "package"
1968
1968
        builder = SourcePackageBuilder(name, version, native=True,
1969
1969
                version3=True)