BuiltIn.Should_Be_Equal_As_Strings 404 ${response.status_code}
Commit_No_Transaction
- [Documentation] Attempt to perform "commit" when there are no changes in the candidate configuration and check that it fails with the correct error.
- Test_Commit_With_No_Transactions
+ [Documentation] Attempt to perform "commit" when there are no changes in the candidate configuration and check that it returns OK status.
+ Perform_Test commit-no-transaction
Edit_Config_Another_Modules_Merge_For_Discard
[Documentation] Create an element to be discarded and check the reply.
Commit_Delete_Not_Existing_Module
[Documentation] Attempt to commit and check the reply.
- Test_Commit_With_No_Transactions
- [Teardown] Utils.Report_Failure_Due_To_Bug 4455
+ Perform_Test commit-no-transaction
Remove_Not_Existing_Module
[Documentation] Attempt to remove the "module" element again and check that the operation is "silently ignored".
[Arguments] ${name} ${expected}
${actual}= Load_And_Send_Message ${name}
BuiltIn.Should_Be_Equal ${expected} ${actual}
-
-Test_Commit_With_No_Transactions
- [Documentation] Issue a "commit" RPC request and check that it fails with "No current transactions" error.
- ${reply}= Load_And_Send_Message commit-no-transaction
- ${expected}= Load_Expected_Reply commit-no-transaction
- BuiltIn.Should_Contain ${reply} ${expected}
-<rpc-reply message-id="10" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
-<rpc-error>
-<error-type>application</error-type>
-<error-tag>operation-failed</error-tag>
-<error-severity>error</error-severity>
-<error-message>No candidateTransaction found for session
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="10">
+<ok/>
+</rpc-reply>