From f2fa64b013de2f55367bf9b8471949b72adc27b0 Mon Sep 17 00:00:00 2001 From: Jerry Flood Date: Fri, 26 Apr 2019 12:54:02 -0400 Subject: More robot tests for CC Issue-ID: OPTFRA-474 Change-Id: I8288c9094a9a56b882994f784c26231df5a47a89 Signed-off-by: Jerry Flood --- cmso-robot/robot/testsuites/MiscTests.robot | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'cmso-robot/robot/testsuites/MiscTests.robot') diff --git a/cmso-robot/robot/testsuites/MiscTests.robot b/cmso-robot/robot/testsuites/MiscTests.robot index 12da302..987f7d6 100755 --- a/cmso-robot/robot/testsuites/MiscTests.robot +++ b/cmso-robot/robot/testsuites/MiscTests.robot @@ -9,6 +9,7 @@ Resource ../resources/optimizer_common.robot Resource ../resources/scheduler_common.robot Resource ../resources/ticketmgt_common.robot Resource ../resources/topology_common.robot +Resource ../resources/scheduler_requests/approval_requests.robot # Test Setup # Test Teardown @@ -63,25 +64,45 @@ Test CMSO Topology Health Test CMSO Optimizer Policies [Tags] ete ${response}= Get Optimizer alias policies + Should Be Equal As Strings ${response.status_code} 200 ##Should Contain ${response.json()} kECFDaLusYNHTN6Q4DmsYw== Test CMSO Optimizer Get Schedule [Tags] ete ${response}= Get Optimizer alias optimize/schedule/id1 + Should Be Equal As Strings ${response.status_code} 200 ##Should Contain ${response.json()} kECFDaLusYNHTN6Q4DmsYw== Test CMSO Optimizer Delete Schedule [Tags] ete ${response}= Delete Optimizer alias optimize/schedule/id1 + Should Be Equal As Strings ${response.status_code} 204 ##Should Contain ${response.json()} kECFDaLusYNHTN6Q4DmsYw== Test CMSO Ticket Mgt Get Tickets [Tags] ete ${response}= Get Ticket Mgt alias tickets + Should Be Equal As Strings ${response.status_code} 200 ##Dictionary Should Contain Item ${response.json()} healthy True Test CMSO Ticket Mgt Get Ticket [Tags] ete ${response}= Get Ticket Mgt alias ticket/none + Should Be Equal As Strings ${response.status_code} 200 ##Dictionary Should Contain Item ${response.json()} healthy True + +Get Not Found Schedule + [Tags] ete + ${response}= Get Change Management alias schedules/doesNotExist + Should Be Equal As Strings ${response.status_code} 404 + +Delete Not Found Schedule + [Tags] ete + ${response}= Delete Change Management alias schedules/doesNotExist + Should Be Equal As Strings ${response.status_code} 404 + +Approve Not Found Schedule + [Tags] ete + Send Tier2 Approval DoesNotExist jf9860 Accespted status_code=400 + \ No newline at end of file -- cgit 1.2.3-korg