From b0b1b6091a57f480bde0ff99428d387ee44a1625 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Thu, 17 Aug 2017 18:17:52 +0200 Subject: [PATCH] Refactored code and added app as a parameter in get_stripe_plan_id --- utils/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/tests.py b/utils/tests.py index d595f307..2062ac6a 100644 --- a/utils/tests.py +++ b/utils/tests.py @@ -136,7 +136,7 @@ class StripePlanTestCase(TestStripeCustomerDescription): """ def test_get_stripe_plan_id_string(self): - plan_id_string = StripeUtils.get_stripe_plan_id_string(cpu=2, ram=20, ssd=100, version=1) + plan_id_string = StripeUtils.get_stripe_plan_id(cpu=2, ram=20, ssd=100, version=1, app='dcl') self.assertEqual(plan_id_string, 'dcl-v1-cpu-2-ram-20gb-ssd-100gb') def test_get_or_create_plan(self):