summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2014-07-09 17:58:16 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2014-07-09 17:58:16 (GMT)
commited9d4ad8c4476f0251fb91ea2660fd2120462503 (patch)
treeb7aa00c56cb9ffb175faeb5f3acfe438f6105f76
parent0636b661c45028a7b932de829fa78de09787b935 (diff)
downloadmandaye-meyzieu-ed9d4ad8c4476f0251fb91ea2660fd2120462503.zip
mandaye-meyzieu-ed9d4ad8c4476f0251fb91ea2660fd2120462503.tar.gz
mandaye-meyzieu-ed9d4ad8c4476f0251fb91ea2660fd2120462503.tar.bz2
mappers: update conditions
-rw-r--r--rp_meyzieu/mappers/portail_famille_ecities.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rp_meyzieu/mappers/portail_famille_ecities.py b/rp_meyzieu/mappers/portail_famille_ecities.py
index def750b..e3b8712 100644
--- a/rp_meyzieu/mappers/portail_famille_ecities.py
+++ b/rp_meyzieu/mappers/portail_famille_ecities.py
@@ -51,7 +51,7 @@ mapping = [
'method': 'GET',
'response': {
'auth': 'login',
- 'condition': 'response.code==302',
+ 'values': {'condition': 'response.code==302'},
}
},
{
@@ -112,7 +112,7 @@ mapping = [
'method': 'POST',
'response': {
'auth': 'associate_submit',
- 'condition': "response.code==302"
+ 'values': {'condition': 'response.code==302'}
}
},
{