Пример #1
0
 def test_find_all_plans_registered_under_an_email(self):
     self._create_plan()
     resp = Plans().get(email=self.user.email)
     self.assertEqual(len(resp.json()["plans"]), 1)
     self._assert_test_plan(resp.json()["plans"][0])
Пример #2
0
 def test_find_all_plans_registered_under_an_email(self):
     self._create_plan()
     resp = Plans().get(email=self.user.email)
     self.assertEqual(len(resp.json()["plans"]), 1)
     self._assert_test_plan(resp.json()["plans"][0])
Пример #3
0
 def test_get_plan_without_email(self):
     self._create_plan()
     resp = Plans().get(name=self.TEST_PLAN["name"])
     self.assertEqual(len(resp.json()["plans"]), 1)
     self._assert_test_plan(resp.json()["plans"][0])
Пример #4
0
 def test_get_plan_without_email(self):
     self._create_plan()
     resp = Plans().get(name=self.TEST_PLAN["name"])
     self.assertEqual(len(resp.json()["plans"]), 1)
     self._assert_test_plan(resp.json()["plans"][0])