Example #1
0
 def test_check_code_of_tester(self):
     code = utils.get_tester_code(self.tester_id)
     resp = utils.verify_code(self.tester_id, code)
     self.assertFalse(resp is None)
Example #2
0
 def test_signup(self):
     code = utils.get_tester_code(self.tester_id)
     url = '/signup?email=%s&code=%s' % (TEST_EMAIL, code)
     resp = self.client.get(url)
     self.assertEqual(resp.status_code, 200)
Example #3
0
 def test_get_code(self):
     code = utils.get_tester_code(self.tester_id)
     self.assertTrue(code)