changing the way search workd to accommodate for georestrictions

This commit is contained in:
Sam
2021-03-11 11:33:12 +00:00
parent 5178eb9722
commit 9794ab1f18
3 changed files with 22 additions and 1 deletions

View File

@@ -567,6 +567,7 @@ class ProductSearchTest(TestCase):
self.assertIsNotNone(payload.get('prices'))
# check for object creation
import ipdb; ipdb.set_trace()
self.assertEquals(len(payload['products']), len(expected_instances))
# check for filters
self.assertTrue(len(payload['filters']['tags']) >= 2 )