P5-4046 update poster hanging list price

This commit is contained in:
Martin
2019-08-06 16:33:53 +02:00
parent 5f02343fd3
commit 5990622b5b
3 changed files with 23 additions and 23 deletions
+4 -4
View File
@@ -159,8 +159,8 @@ class TestEndpoints(flask_testing.TestCase):
{
'hanger': True,
'height': 30,
'price': 419.0,
'price_excl_vat': 335.2,
'price': 397.5,
'price_excl_vat': 318,
'width': 50
},
{
@@ -177,8 +177,8 @@ class TestEndpoints(flask_testing.TestCase):
response = self.client.get('/prices/poster-hanger?width=50&territory=SE')
self.assert200(response)
product = response.json['data'][0]
self.assertEqual(231.5, product['price'])
self.assertEqual(185.2, product['price_excl_vat'])
self.assertEqual(210.0, product['price'])
self.assertEqual(168, product['price_excl_vat'])
self.assertEqual(50, product['width'])
def test_inquiry_wallpaper(self):