mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-26 03:28:17 +00:00
More backwards compatibility
This commit is contained in:
parent
984b74ee34
commit
16aa5fece2
@ -1360,6 +1360,18 @@ class _TestCaseMixin(object):
|
|||||||
"""Backwards compatibility method."""
|
"""Backwards compatibility method."""
|
||||||
self.assertFalse(*args, **kwargs)
|
self.assertFalse(*args, **kwargs)
|
||||||
|
|
||||||
|
def failIfEqual(self, *args, **kwargs):
|
||||||
|
"""Backwards compatibility method."""
|
||||||
|
self.assertNotEqual(*args, **kwargs)
|
||||||
|
|
||||||
|
def failUnlessEqual(self, *args, **kwargs):
|
||||||
|
"""Backwards compatibility method."""
|
||||||
|
self.assertEqual(*args, **kwargs)
|
||||||
|
|
||||||
|
def failUnlessReallyEqual(self, *args, **kwargs):
|
||||||
|
"""Backwards compatibility method."""
|
||||||
|
self.assertReallyEqual(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class SyncTestCase(_TestCaseMixin, TestCase):
|
class SyncTestCase(_TestCaseMixin, TestCase):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user