/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/blackbox/test_cat.py

Remove bogus config imports left in previous tweak

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import os
23
23
import sys
24
24
 
25
 
from bzrlib.tests import MemoryServer, TestCaseWithTransport
26
 
 
27
 
 
28
 
class TestCat(TestCaseWithTransport):
 
25
from bzrlib import tests
 
26
 
 
27
 
 
28
class TestCat(tests.TestCaseWithTransport):
29
29
 
30
30
    def test_cat(self):
31
31
        tree = self.make_branch_and_tree('branch')
184
184
        self.assertEqual('contents of README\n', out)
185
185
 
186
186
    def test_cat_nonexistent_branch(self):
187
 
        self.vfs_transport_factory = MemoryServer
188
 
        self.run_bzr_error(['^bzr: ERROR: Not a branch'], ['cat', self.get_url()])
 
187
        self.vfs_transport_factory = tests.MemoryServer
 
188
        self.run_bzr_error(['^bzr: ERROR: Not a branch'],
 
189
                           ['cat', self.get_url()])