Change-Id: I3b806abdaf9540b7c39c961c179c2d2b15d327fe
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
def skipTest(self, reason):
raise SkipTest(reason)
def skipTest(self, reason):
raise SkipTest(reason)
+ if not getattr(unittest.TestCase, "assertIs", None):
+ def assertIs(self, a, b):
+ self.assertTrue(a is b)
+
+ if not getattr(unittest.TestCase, "assertIsNot", None):
+ def assertIsNot(self, a, b):
+ self.assertTrue(a is not b)
+
class LdbTestCase(unittest.TestCase):
"""Trivial test case for running tests against a LDB."""
class LdbTestCase(unittest.TestCase):
"""Trivial test case for running tests against a LDB."""