Ejemplo n.º 1
0
 def test__build_dict_from_response_instance_list(self):
     suds = self.sudsobject()
     assert _build_dict_from_response({1: [suds]}) == {1: [suds]}
Ejemplo n.º 2
0
 def test__build_dict_from_response_not_iterable(self, log):
     _build_dict_from_response(10)
     log.assert_called_with(level='INFO',
                            message='Argument Passed Was Not Iterable')
Ejemplo n.º 3
0
 def test__build_dict_from_response_list(self):
     assert _build_dict_from_response({1: [2, 3]}) == {1: ['2', '3']}
Ejemplo n.º 4
0
 def test__build_dict_from_response_simple(self):
     assert _build_dict_from_response({1: 2}) == {1: '2'}