def test_exception(self):
     self.assertEqual(multiply_strings(1,4), "Not a string")
Exemple #2
0
 def test_exception(self):
     self.assertEqual(multiply_strings(1, 4), "Not a string")
 def test_strings_a_3(self):
     self.assertEqual(multiply_strings('hi',4), 'hihihihi')
Exemple #4
0
 def test_strings_a_3(self):
     self.assertEqual(multiply_strings('hi', 4), 'hihihihi')