PW-865: Piterra bug fix

This commit is contained in:
Ruslan Getmansky
2017-12-06 16:24:47 +02:00
parent 8eb74f2a48
commit 8e33c1b102
4 changed files with 12 additions and 4 deletions
+3
View File
@@ -215,6 +215,9 @@ class TestPrice(unittest2.TestCase):
inquiry, inc_price_retouch=False))
self.assertEqual(152, inquiry_price(
inquiry, inc_price_retouch=False, material=premium_wallpaper))
# test set reseller store to None to calculate inquiry price without reseller price premium
self.assertEqual(102, inquiry_price(
inquiry, inc_price_retouch=False, reseller=None))
def test_canvas_custom_inquiry_price(self):
with mock.patch.object(Inquiry, 'market', sweden):