/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_dir.py

  • Committer: Jelmer Vernooij
  • Date: 2018-05-15 19:05:51 UTC
  • mfrom: (6968 work)
  • mto: (6973.5.1 python3-c)
  • mto: This revision was merged to the branch mainline in revision 6984.
  • Revision ID: jelmer@jelmer.uk-20180515190551-epr5abd0mtxmrehr
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        GitRepo.init(".")
43
43
 
44
44
        gd = controldir.ControlDir.open('.')
45
 
        self.assertEquals(
 
45
        self.assertEqual(
46
46
            "%s,branch=master" %
47
47
                urlutils.local_path_to_url(os.path.abspath(".")),
48
48
            gd.get_branch_reference())
83
83
        self.format = dir.LocalGitControlDirFormat()
84
84
 
85
85
    def test_get_format_description(self):
86
 
        self.assertEquals("Local Git Repository",
 
86
        self.assertEqual("Local Git Repository",
87
87
                          self.format.get_format_description())
88
88
 
89
89
    def test_eq(self):
90
90
        format2 = dir.LocalGitControlDirFormat()
91
 
        self.assertEquals(self.format, format2)
92
 
        self.assertEquals(self.format, self.format)
 
91
        self.assertEqual(self.format, format2)
 
92
        self.assertEqual(self.format, self.format)
93
93
        bzr_format = controldir.format_registry.make_controldir("default")
94
94
        self.assertNotEqual(self.format, bzr_format)
95
95