P5-3247 add price calculations for poster inquiries
This commit is contained in:
@@ -195,3 +195,9 @@ class TestEndpoints(flask_testing.TestCase):
|
||||
response = self.client.get('/prices/inquiry/1?width=100&height=100')
|
||||
self.assert200(response)
|
||||
self.assertEqual('canvas', response.json['group'])
|
||||
|
||||
def test_inquiry_poster(self):
|
||||
self._add_inquiry(territory='SE', product_group='poster')
|
||||
response = self.client.get('/prices/inquiry/1?width=100&height=100')
|
||||
self.assert200(response)
|
||||
self.assertEqual('poster', response.json['group'])
|
||||
|
||||
Reference in New Issue
Block a user