/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_export.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
import os
18
18
 
19
 
from bzrlib.export import export
20
 
from bzrlib.tests import TestCaseWithTransport
21
 
 
22
 
 
23
 
class TestExport(TestCaseWithTransport):
 
19
 
 
20
from bzrlib import (
 
21
    export,
 
22
    tests,
 
23
    )
 
24
 
 
25
 
 
26
class TestExport(tests.TestCaseWithTransport):
24
27
 
25
28
    def test_dir_export_missing_file(self):
26
29
        self.build_tree(['a/', 'a/b', 'a/c'])
27
30
        wt = self.make_branch_and_tree('.')
28
31
        wt.add(['a', 'a/b', 'a/c'])
29
32
        os.unlink('a/c')
30
 
        export(wt, 'target', format="dir")
 
33
        export.export(wt, 'target', format="dir")
31
34
        self.failUnlessExists('target/a/b')
32
35
        self.failIfExists('target/a/c')
 
36