~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_send.py

  • Committer: Martin Pool
  • Date: 2010-02-25 06:17:27 UTC
  • mfrom: (5055 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5057.
  • Revision ID: mbp@sourcefrog.net-20100225061727-4sd9lt0qmdc6087t
merge news

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006, 2007, 2008, 2009 Canonical Ltd
 
1
# Copyright (C) 2006-2010 Canonical Ltd
2
2
# Authors: Aaron Bentley
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
26
26
    tests,
27
27
    )
28
28
from bzrlib.bundle import serializer
 
29
from bzrlib.transport import memory
29
30
 
30
31
 
31
32
def load_tests(standard_tests, module, loader):
280
281
        self.assertEqual('rev3', md.revision_id)
281
282
 
282
283
    def test_nonexistant_branch(self):
283
 
        self.vfs_transport_factory = tests.MemoryServer
 
284
        self.vfs_transport_factory = memory.MemoryServer
284
285
        location = self.get_url('absentdir/')
285
286
        out, err = self.run_bzr(["send", "--from", location], retcode=3)
286
287
        self.assertEqual(out, '')