From e9b2164b7fd03ebfd1cb17cefa2e960b846bf47f Mon Sep 17 00:00:00 2001 From: kcover Date: Tue, 2 Jan 2018 17:37:13 -0700 Subject: [PATCH] rename unittests in reverse_string_test.py renamed the unittests to start with "test", otherwise they would not run. --- exercises/reverse-string/reverse_string_test.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/exercises/reverse-string/reverse_string_test.py b/exercises/reverse-string/reverse_string_test.py index e5b934dbcbc..b44a8823100 100644 --- a/exercises/reverse-string/reverse_string_test.py +++ b/exercises/reverse-string/reverse_string_test.py @@ -6,19 +6,19 @@ # Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.1 class ReverseStringTests(unittest.TestCase): - def empty_string(self): + def test_empty_string(self): self.assertEqual(reverse(''), '') - def a_word(self): + def test_a_word(self): self.assertEqual(reverse('robot'), 'tobor') - def a_capitalized_word(self): + def test_a_capitalized_word(self): self.assertEqual(reverse('Ramen'), 'nemaR') - def a_sentence_with_punctuation(self): + def test_a_sentence_with_punctuation(self): self.assertEqual(reverse('I\'m hungry!'), '!yrgnuh m\'I') - def a_palindrome(self): + def test_a_palindrome(self): self.assertEqual(reverse('racecar'), 'racecar')