/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 breezy/plugins/git/tests/test_push.py

  • Committer: Jelmer Vernooij
  • Date: 2018-07-03 01:42:53 UTC
  • mto: This revision was merged to the branch mainline in revision 7027.
  • Revision ID: jelmer@jelmer.uk-20180703014253-zjckmhgnmb2qsn6x
Disable some flaky tests on python3, allow running without fastimport.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        interrepo.source_store.lock_read()
86
86
        self.addCleanup(interrepo.source_store.unlock)
87
87
        self.assertEqual([],
88
 
                list(interrepo.missing_revisions([(None, "unknown")])))
 
88
                list(interrepo.missing_revisions([(None, b"unknown")])))
89
89
 
90
90
    def test_odd_rename(self):
91
91
        # Add initial revision to bzr branch.
111
111
        commit = store[gitid]
112
112
        tree = store[commit.tree]
113
113
        tree.check()
114
 
        self.assertIn("baz", tree, repr(tree.items()))
115
 
        self.assertIn(tree["baz"][1], store)
116
 
        baz = store[tree["baz"][1]]
 
114
        self.assertIn(b"baz", tree, repr(tree.items()))
 
115
        self.assertIn(tree[b"baz"][1], store)
 
116
        baz = store[tree[b"baz"][1]]
117
117
        baz.check()
118
 
        ircdotnet = store[baz["IrcDotNet"][1]]
 
118
        ircdotnet = store[baz[b"IrcDotNet"][1]]
119
119
        ircdotnet.check()
120
 
        foobar = store[ircdotnet["foobar"][1]]
 
120
        foobar = store[ircdotnet[b"foobar"][1]]
121
121
        foobar.check()