def test_create_good_function_name_with_first_upper_charachter(self): self.assertEqual(Petit.create_good_function_name('BadName'), 'bad_name')
def test_is_good_function_name(self): self.assertFalse(Petit.is_bad_function_name('good_name'))
def test_create_good_function_name_from_camelcase(self): self.assertEqual(Petit.create_good_function_name('reallyBadName'), 'really_bad_name')
def test_is_bad_function_name(self): self.assertTrue(Petit.is_bad_function_name('badName'))