diff options
author | smiddlek <smiddlek@b1010a0a-674b-0410-b734-77272b80c875> | 2008-07-01 21:24:54 +0000 |
---|---|---|
committer | smiddlek <smiddlek@b1010a0a-674b-0410-b734-77272b80c875> | 2008-07-01 21:24:54 +0000 |
commit | f62e52639fdc3dcb366d5f6c95ca5bce5eb30a3e (patch) | |
tree | 9b16322d94fd730bb71a7ff9d11220d4376d8631 | |
parent | 807e7567d447997b0887164f36571b104af03572 (diff) | |
download | pymox-f62e52639fdc3dcb366d5f6c95ca5bce5eb30a3e.tar.gz |
Remove duplicate NotTest. Bad patch.
-rwxr-xr-x | mox_test.py | 16 |
1 files changed, 0 insertions, 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. """ |