summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmiddlek <smiddlek@b1010a0a-674b-0410-b734-77272b80c875>2008-07-01 21:24:54 +0000
committersmiddlek <smiddlek@b1010a0a-674b-0410-b734-77272b80c875>2008-07-01 21:24:54 +0000
commitb67bfae5dd594cda5cfc986fc7bea5ee19906b40 (patch)
tree9b16322d94fd730bb71a7ff9d11220d4376d8631
parent981e2eb43edcec55b62ac38fc58b01f9e9dfdc80 (diff)
downloadmox-b67bfae5dd594cda5cfc986fc7bea5ee19906b40.tar.gz
Remove duplicate NotTest. Bad patch.
git-svn-id: http://pymox.googlecode.com/svn/trunk@19 b1010a0a-674b-0410-b734-77272b80c875
-rwxr-xr-xmox_test.py16
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.
"""