From f62e52639fdc3dcb366d5f6c95ca5bce5eb30a3e Mon Sep 17 00:00:00 2001 From: smiddlek Date: Tue, 1 Jul 2008 21:24:54 +0000 Subject: Remove duplicate NotTest. Bad patch. --- mox_test.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/mox_test.py b/mox_test.py index 5f00f0c..2d8e435 100755 --- a/mox_test.py +++ b/mox_test.py @@ -175,22 +175,6 @@ class NotTest(unittest.TestCase): self.assert_(mox.Not(mox.ContainsKeyValue("qux", 1)) == {"key": 2}) -class NotTest(unittest.TestCase): - """Test Not correctly identifies False predicates.""" - - def testItemInList(self): - """Should return True if the item is NOT in the list.""" - self.assert_(mox.Not(mox.In(42)) == [1, 2, 3]) - - def testKeyInDict(self): - """Should return True if the item is NOT a key in a dict.""" - self.assert_(mox.Not(mox.In("foo")) == {"key" : 42}) - - def testInvalidKeyWithNot(self): - """Should return False if they key is NOT in the dict.""" - self.assert_(mox.Not(mox.ContainsKeyValue("qux", 1)) == {"key": 2}) - - class StrContainsTest(unittest.TestCase): """Test StrContains correctly checks for substring occurrence of a parameter. """ -- cgit v1.2.1