diff options
Diffstat (limited to 'tests/end_to_end/scenarios/execute_reload_adhoc_command.py')
-rw-r--r-- | tests/end_to_end/scenarios/execute_reload_adhoc_command.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/end_to_end/scenarios/execute_reload_adhoc_command.py b/tests/end_to_end/scenarios/execute_reload_adhoc_command.py new file mode 100644 index 0000000..2cced19 --- /dev/null +++ b/tests/end_to_end/scenarios/execute_reload_adhoc_command.py @@ -0,0 +1,7 @@ +from scenarios import * + +scenario = ( + sequences.handshake(), + send_stanza("<iq type='set' id='ping-command1' from='{jid_admin}/{resource_one}' to='{biboumi_host}'><command xmlns='http://jabber.org/protocol/commands' node='reload' action='execute' /></iq>"), + expect_stanza("/iq[@type='result']/commands:command[@node='reload'][@status='completed']/commands:note[@type='info'][text()='Configuration reloaded.']"), +) |