P5-6370 inquires should use markets instead of territores for calculating prices #36

This commit is contained in:
Martin Carlsson
2021-01-19 14:32:06 +01:00
committed by GitHub
parent 2692737100
commit dee7344ba5
6 changed files with 25 additions and 39 deletions
-5
View File
@@ -340,7 +340,6 @@ class TestPrice(unittest2.TestCase):
with mock.patch.object(Inquiry, "market", nl):
inquiry = Inquiry(
product_group="photo-wallpaper",
territory="NL",
pricepremium=0,
width=350,
height=270,
@@ -373,7 +372,6 @@ class TestPrice(unittest2.TestCase):
with mock.patch.object(Inquiry, "market", sweden):
inquiry = Inquiry(
product_group="photo-wallpaper",
territory="SE",
pricepremium=0,
width=350,
height=280,
@@ -393,7 +391,6 @@ class TestPrice(unittest2.TestCase):
with mock.patch.object(Inquiry, "market", sweden):
inquiry = Inquiry(
product_group="photo-wallpaper",
territory="SE",
pricepremium=25,
width=250,
height=400,
@@ -412,7 +409,6 @@ class TestPrice(unittest2.TestCase):
with mock.patch.object(Inquiry, "market", sweden):
inquiry = Inquiry(
product_group="canvas",
territory="SE",
width=100,
height=100,
framed=True,
@@ -472,7 +468,6 @@ class TestPrice(unittest2.TestCase):
with mock.patch.object(Inquiry, "market", sweden):
inquiry = Inquiry(
product_group="poster",
territory="SE",
width=30,
height=40,
hanger=True,