Пример #1
0
 def test_sample_url_can_be_generated(self):
     self.assertEqual({
         'dept': 'test_dept',
         'course': 'test_course'
     }, generate_url('test_dept', 'test_course'))
Пример #2
0
 def test_sample_url_can_be_generated(self):
     self.assertEqual(test_data.test_sample_url_can_be_generated_data,
                      generate_url('test_dept', 'test_course'))