Created
November 21, 2009 18:57
-
-
Save garybernhardt/240242 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tests/test_entity.py b/tests/test_entity.py | |
index c3c4aec..8410b9d 100644 | |
--- a/tests/test_entity.py | |
+++ b/tests/test_entity.py | |
@@ -209,6 +209,15 @@ class TestMatchesDict(unittest.TestCase): | |
creator=['Matt', 'Nobody'], | |
tags=['fun', 'boring']) == self.e | |
+ #def test_order_independence_of_query(self): | |
+ # assert not self.e.matches_dict(creator=['Matt'], | |
+ # title=['DO NOT MATCH']) | |
+ # assert not self.e.matches_dict(creator=['DO NOT MATCH'], | |
+ # title=['Clean cat box']) | |
+ | |
+ #def test_order_independence_of_subquery(self): | |
+ # assert not self.e.matches_dict(priority=[self.important.title], | |
+ # tags=['DOES NOT MATCH']) | |
def test_matches_dict_2(self): | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment