projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow to automatically reserve an FSM test id
[anna.git]
/
example
/
diameter
/
launcher
/
resources
/
rest_api
/
ct
/
fsm-testing
/
testid-timeout_test.py
diff --git
a/example/diameter/launcher/resources/rest_api/ct/fsm-testing/testid-timeout_test.py
b/example/diameter/launcher/resources/rest_api/ct/fsm-testing/testid-timeout_test.py
index
025b236
..
03ed32a
100644
(file)
--- a/
example/diameter/launcher/resources/rest_api/ct/fsm-testing/testid-timeout_test.py
+++ b/
example/diameter/launcher/resources/rest_api/ct/fsm-testing/testid-timeout_test.py
@@
-6,7
+6,7
@@
def test_001_given_test_indentifier_i_want_to_set_test_id_timeout(admlc, admlf):
flow = admlf.getId()
requestBody = { "msecs":3000 }
flow = admlf.getId()
requestBody = { "msecs":3000 }
- responseBodyRef = { "success":"true", "response":
"Done"
}
+ responseBodyRef = { "success":"true", "response":
str(flow)
}
# Send POST
response = admlc.postDict("/testid-timeout/{}".format(flow), requestBody)
# Send POST
response = admlc.postDict("/testid-timeout/{}".format(flow), requestBody)