Пример #1
0
 def test_check_prep_template_exists_no_template(self):
     obs = _check_prep_template_exists(3100)
     self.assertEqual(obs, {'status': 'error',
                            'message': 'Prep template 3100 does not exist'})
 def test_check_prep_template_exists_no_template(self):
     obs = _check_prep_template_exists(3100)
     self.assertEqual(obs, {
         'status': 'error',
         'message': 'Prep template 3100 does not exist'
     })
Пример #3
0
 def test_check_prep_template_exists(self):
     obs = _check_prep_template_exists(1)
     self.assertEqual(obs, {'status': 'success', 'message': ''})
 def test_check_prep_template_exists(self):
     obs = _check_prep_template_exists(1)
     self.assertEqual(obs, {'status': 'success', 'message': ''})