def test_build_kwarg2(self): """ Should handle negated kwargs gracefuly """ key = "!id" fm = FilterMixin() self.assertEquals(("!id", True), fm.build_kwarg(key))
def test_build_kwarg1(self): """ Should handle not-negated kwargs gracefuly """ key = "id" fm = FilterMixin() self.assertEquals(("id", False), fm.build_kwarg(key))