~ubuntu-branches/debian/sid/bzr-builddeb/sid

« back to all changes in this revision

Viewing changes to tests/test_source_distiller.py

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij, Jelmer Vernooij, Martin Packman
  • Date: 2011-10-01 21:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20111001212705-29f1lpwpsdb2dork
Tags: 2.7.9
[ Jelmer Vernooij ]
* Support .tar.xz Debian files rather than .tar.lzma.

[ Martin Packman ]
* Support non-ascii characters in changelog entry when determining
  commit message. LP: #853664

[ Jelmer Vernooij ]
* Use more complete control file during examples. Closes: #642818

Show diffs side-by-side

added added

removed removed

Lines of Context:
224
224
        self.assertPathExists('target/a')
225
225
        self.assertPathDoesNotExist('target/debian/foo')
226
226
 
227
 
    def test_distill_larstiq(self):
 
227
    def test_distill_top_level(self):
228
228
        wt = self.make_branch_and_tree('.')
229
229
        wt.lock_write()
230
230
        self.addCleanup(wt.unlock)
234
234
        version = Version("0.1-1")
235
235
        self.make_tarball(name, version)
236
236
        sd = MergeModeDistiller(wt, _SimpleUpstreamProvider(name,
237
 
                    version.upstream_version, "."), larstiq=True)
 
237
                    version.upstream_version, "."), top_level=True)
238
238
        sd.distill('target/')
239
239
        self.assertPathExists('target/a')
240
240
        self.assertPathExists('target/debian/b')