~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testremotebranch.py

  • Committer: Robert Collins
  • Date: 2005-09-29 00:24:44 UTC
  • Revision ID: robertc@robertcollins.net-20050929002444-76fe66e99fb9bcd5
reinstate testfetch test case

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
class TestFetch(TestCaseWithWebserver):
28
28
    def runTest(self):
29
 
        print "REENABLE ME?!!!!! testremotebranch"
30
 
        return
31
 
        from bzrlib.fetch import greedy_fetch, has_revision
 
29
        from bzrlib.fetch import greedy_fetch
 
30
        from bzrlib.selftest.testfetch import has_revision
32
31
 
33
32
        def new_branch(name):
34
33
            os.mkdir(name)
50
49
        to_unzip_output.write(content)
51
50
        to_unzip_output.close()
52
51
        
 
52
        import pdb;pdb.set_trace()
53
53
        br_rem = Branch.open(self.get_remote_url(br_a.base))
54
54
        assert not has_revision(br_b, br_rem.revision_history()[3])
55
55
        assert has_revision(br_b, br_rem.revision_history()[2])