def test__largerThan(self): data = Row(index='modified', operator='_largerThan', values='2010/03/18') parsed = queryparser._largerThan(MockSite(), data) expected = {'modified': {'query': '2010/03/18', 'range': 'min'}} self.assertEqual(parsed, expected)
def test__largerThan(self): data = Row(index='modified', operator='_largerThan', values='2010/03/18') parsed = queryparser._largerThan(MockSite(), data) expected = {'modified': {'query': '2010/03/18', 'range': 'min'}} self.assertEqual(parsed, expected)