Пример #1
0
 def test_build_kwarg2(self):
     """
     Should handle negated kwargs gracefuly
     """
     key = "!id"
     fm = FilterMixin()
     self.assertEquals(("!id", True), fm.build_kwarg(key))
Пример #2
0
 def test_build_kwarg2(self):
     """
     Should handle negated kwargs gracefuly
     """
     key = "!id"
     fm = FilterMixin()
     self.assertEquals(("!id", True), fm.build_kwarg(key))
Пример #3
0
 def test_build_kwarg1(self):
     """
     Should handle not-negated kwargs gracefuly
     """
     key = "id"
     fm = FilterMixin()
     self.assertEquals(("id", False), fm.build_kwarg(key))
Пример #4
0
 def test_build_kwarg1(self):
     """
     Should handle not-negated kwargs gracefuly
     """
     key = "id"
     fm = FilterMixin()
     self.assertEquals(("id", False), fm.build_kwarg(key))