def test_get_list_of_not_found(self): params = ParamsDict({"key1": [1]}) self.assertEqual(params.get_list_of("key2", str), [])
def test_get_list_of_not_found(self): params = ParamsDict({'key1': [1]}) self.assertEqual(params.get_list_of('key2', str), [])
def test_get_list_of(self): params = ParamsDict({"key1": [1]}) self.assertEqual(params.get_list_of("key1", str), ["1"])
def test_get_list_of(self): params = ParamsDict({'key1': [1]}) self.assertEqual(params.get_list_of('key1', str), ['1'])