~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/commands/test_pull.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-19 16:41:31 UTC
  • mfrom: (4788.2.2 2.1.0b3-gc-nogil)
  • Revision ID: pqm@pqm.ubuntu.com-20091119164131-pg4ky6zrxe6kpzhq
(jam) Release the gil during some of the core groupcompress code
        paths.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        cmd = builtins.cmd_pull()
36
36
        # We don't care about the ouput but 'outf' should be defined
37
37
        cmd.outf = tests.StringIOWrapper()
38
 
        cmd.run_direct(self.get_url('branch1'), directory='branch2')
 
38
        cmd.run(self.get_url('branch1'), directory='branch2')
39
39
        self.assertEquals(1, len(self.connections))
40
40
 
41
41
    def test_pull_with_bound_branch(self):
53
53
        pull = builtins.cmd_pull()
54
54
        # We don't care about the ouput but 'outf' should be defined
55
55
        pull.outf = tests.StringIOWrapper()
56
 
        pull.run_direct(self.get_url('remote'), directory='local')
 
56
        pull.run(self.get_url('remote'), directory='local')
57
57
        self.assertEquals(1, len(self.connections))
58
58