Skip to content

Instantly share code, notes, and snippets.

@garybernhardt
Created November 21, 2009 18:57
Show Gist options
  • Save garybernhardt/240242 to your computer and use it in GitHub Desktop.
Save garybernhardt/240242 to your computer and use it in GitHub Desktop.
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