atal: use dot in coordinates (#37097)
This commit is contained in:
parent
509d5644fb
commit
67e74d8041
|
@ -152,10 +152,6 @@ class ATALConnector(BaseResource):
|
|||
if recv in post_data:
|
||||
data[send] = post_data[recv]
|
||||
|
||||
for coord_key in ('coordX', 'coordY'):
|
||||
if coord_key in data:
|
||||
data[coord_key] = data[coord_key].replace('.', ',')
|
||||
|
||||
demande_number = self._soap_call(
|
||||
wsdl='DemandeService', method='insertDemandeCompletByType', **data
|
||||
)
|
||||
|
|
|
@ -137,8 +137,8 @@ def test_insert_demande_complet_by_type(app, connector, monkeypatch):
|
|||
assert call_params['wsdl'] == 'DemandeService'
|
||||
assert call_params['method'] == 'insertDemandeCompletByType'
|
||||
assert call_params['typeDemande'] == 'VOIRIE'
|
||||
assert call_params['coordX'] == '48,866667'
|
||||
assert call_params['coordY'] == '2,333333'
|
||||
assert call_params['coordX'] == '48.866667'
|
||||
assert call_params['coordY'] == '2.333333'
|
||||
|
||||
|
||||
def test_upload(app, connector, monkeypatch):
|
||||
|
|
Loading…
Reference in New Issue