mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Replace assertEquals
with assertEqual
- #259 Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
7fa7ca5f04
commit
9dd8257cc0
7 changed files with 15 additions and 15 deletions
|
@ -175,7 +175,7 @@ class TestAnnotate(TestCase):
|
|||
|
||||
j = self.t.export()
|
||||
|
||||
self.assertEquals(len(j), 1)
|
||||
self.assertEqual(len(j), 1)
|
||||
self.assertClosedInterval(j[0], expectedAnnotation="foo")
|
||||
|
||||
def test_annotate_with_embedded_quotes(self):
|
||||
|
@ -188,7 +188,7 @@ class TestAnnotate(TestCase):
|
|||
|
||||
j = self.t.export()
|
||||
|
||||
self.assertEquals(len(j), 1)
|
||||
self.assertEqual(len(j), 1)
|
||||
self.assertClosedInterval(j[0], expectedAnnotation='bar "foo" bar')
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue