def test_list_of_strings_validator_multiple(self): # This validator should turn a single key into a list of keys. self.assertEqual( list_of_strings_validator(['ant', 'bee', 'cat']), ['ant', 'bee', 'cat'])
def test_list_of_strings_validator_single(self): # This validator should turn a single key into a list of keys. self.assertEqual(list_of_strings_validator('ant'), ['ant'])
def test_list_of_strings_validator_multiple(self): # This validator should turn a single key into a list of keys. self.assertEqual(list_of_strings_validator(['ant', 'bee', 'cat']), ['ant', 'bee', 'cat'])
def test_list_of_strings_validator_empty_list(self): # This validator should return an empty list for an empty string input. self.assertEqual(list_of_strings_validator(''), [])