コード例 #1
0
    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)
コード例 #2
0
    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)
コード例 #3
0
    def test_should_return_given_empty_list(self):

        actual = _ensure_is_a_list_of_strings('key', [])

        self.assertEqual([], actual)
コード例 #4
0
    def test_should_return_given_empty_list(self):

        actual = _ensure_is_a_list_of_strings('key', [])

        self.assertEqual([], actual)