test with non-rounded values for diy-frame prices

This commit is contained in:
Martin
2016-11-08 14:47:32 +01:00
parent 1f75cb9cc5
commit 4affc08eae
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -56,4 +56,4 @@ class TestEndpoints(flask_testing.TestCase):
product = response.json['data'][0]
self.assertEqual(150, product['width'], "it adjusts measurements")
self.assertEqual(50, product['height'])
self.assertEqual(924, product['price'])
self.assertAlmostEqual(923.857, product['price'], places=2)