~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_workingtree_4.py

  • Committer: Patch Queue Manager
  • Date: 2016-02-01 19:13:13 UTC
  • mfrom: (6614.2.2 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20160201191313-wdfvmfff1djde6oq
(vila) Release 2.7.0 (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007-2011 Canonical Ltd
 
1
# Copyright (C) 2007-2012, 2016 Canonical Ltd
2
2
# Authors:  Robert Collins <robert.collins@canonical.com>
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
88
88
        self.assertIsDirectory('.bzr/checkout', t)
89
89
        self.assertIsDirectory('.bzr/checkout/lock', t)
90
90
        our_lock = LockDir(t, '.bzr/checkout/lock')
91
 
        self.assertEquals(our_lock.peek(), None)
 
91
        self.assertEqual(our_lock.peek(), None)
92
92
        tree.lock_write()
93
93
        self.assertTrue(our_lock.peek())
94
94
        tree.unlock()
95
 
        self.assertEquals(our_lock.peek(), None)
 
95
        self.assertEqual(our_lock.peek(), None)
96
96
 
97
97
    def make_workingtree(self, relpath=''):
98
98
        url = self.get_url(relpath)