/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

  • Committer: Jelmer Vernooij
  • Date: 2010-01-20 23:26:31 UTC
  • mto: This revision was merged to the branch mainline in revision 4977.
  • Revision ID: jelmer@samba.org-20100120232631-b9mz0z55712eaxfa
Cope with ghosts in 'bzr diff'

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005-2010 Canonical Ltd
 
1
# Copyright (C) 2005 Canonical Ltd
2
2
# -*- coding: utf-8 -*-
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
22
22
import os
23
23
 
24
24
from bzrlib import tests
25
 
from bzrlib.transport import memory
26
25
 
27
26
 
28
27
class TestCat(tests.TestCaseWithTransport):
196
195
        self.assertEqual('contents of README\n', out)
197
196
 
198
197
    def test_cat_nonexistent_branch(self):
199
 
        self.vfs_transport_factory = memory.MemoryServer
 
198
        self.vfs_transport_factory = tests.MemoryServer
200
199
        self.run_bzr_error(['^bzr: ERROR: Not a branch'],
201
200
                           ['cat', self.get_url()])