def test_should_return_given_list_with_multiple_strings(self): actual = _ensure_is_a_list_of_strings('key', ['one', 'two', 'three']) self.assertEqual(['one', 'two', 'three'], actual)
def test_should_return_given_empty_list(self): actual = _ensure_is_a_list_of_strings('key', []) self.assertEqual([], actual)