From c57d0dd229bb10f80cf3a90e0ed06c391248c597 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Tue, 14 Jun 2016 14:53:10 +0200 Subject: [PATCH] Remove unused librairies in robot files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ifade280e02354b20869d54b15ba89838d2857640 Signed-off-by: Cédric Ollivier --- .../Controllers/ODL/custom_tests/neutron/010__networks.robot | 3 --- testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot | 3 --- testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot | 3 --- .../Controllers/ODL/custom_tests/neutron/040__delete_ports.robot | 8 ++------ .../ODL/custom_tests/neutron/050__delete_subnets.robot | 8 ++------ .../ODL/custom_tests/neutron/060__delete_networks.robot | 6 +----- 6 files changed, 5 insertions(+), 26 deletions(-) diff --git a/testcases/Controllers/ODL/custom_tests/neutron/010__networks.robot b/testcases/Controllers/ODL/custom_tests/neutron/010__networks.robot index f5633ec5..59d5adcd 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/010__networks.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/010__networks.robot @@ -2,11 +2,8 @@ Documentation Checking Network created in OpenStack are pushed to OpenDaylight Suite Setup Create Session OSSession http://${NEUTRON}:9696 headers=${X-AUTH} Suite Teardown Delete All Sessions -Library SSHLibrary Library Collections -Library OperatingSystem Library RequestsLibrary -Library ../../../libraries/Common.py Variables ../../../variables/Variables.py *** Variables *** diff --git a/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot b/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot index 3eb87815..54892b0f 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot @@ -2,11 +2,8 @@ Documentation Checking Subnets created in OpenStack are pushed to OpenDaylight Suite Setup Create Session OSSession http://${NEUTRON}:9696 headers=${X-AUTH} Suite Teardown Delete All Sessions -Library SSHLibrary Library Collections -Library OperatingSystem Library RequestsLibrary -Library ../../../libraries/Common.py Variables ../../../variables/Variables.py *** Variables *** diff --git a/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot b/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot index d1796c35..797d4f3b 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot @@ -2,11 +2,8 @@ Documentation Checking Port created in OpenStack are pushed to OpenDaylight Suite Setup Create Session OSSession http://${NEUTRON}:9696 headers=${X-AUTH} Suite Teardown Delete All Sessions -Library SSHLibrary Library Collections -Library OperatingSystem Library RequestsLibrary -Library ../../../libraries/Common.py Variables ../../../variables/Variables.py *** Variables *** diff --git a/testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot b/testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot index 1f632dda..8935b10d 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/040__delete_ports.robot @@ -2,17 +2,13 @@ Documentation Checking Port deleted in OpenStack are deleted also in OpenDaylight Suite Setup Create Session OSSession http://${NEUTRON}:9696 headers=${X-AUTH} Suite Teardown Delete All Sessions -Library SSHLibrary -Library Collections -Library OperatingSystem -Library ../../../libraries/RequestsLibrary.py -Library ../../../libraries/Common.py +Library RequestsLibrary Variables ../../../variables/Variables.py *** Variables *** ${ODLREST} /controller/nb/v2/neutron/ports ${OSREST} /v2.0/ports/${PORTID} -${data} {"port":{"network_id":"${NETID}","admin_state_up": true}} +${data} {"port":{"network_id":"${NETID}","admin_state_up": true}} *** Test Cases *** Delete New Port diff --git a/testcases/Controllers/ODL/custom_tests/neutron/050__delete_subnets.robot b/testcases/Controllers/ODL/custom_tests/neutron/050__delete_subnets.robot index bfe2b9d6..bf2fcbd3 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/050__delete_subnets.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/050__delete_subnets.robot @@ -2,17 +2,13 @@ Documentation Checking Subnets deleted in OpenStack are deleted also in OpenDaylight Suite Setup Create Session OSSession http://${NEUTRON}:9696 headers=${X-AUTH} Suite Teardown Delete All Sessions -Library SSHLibrary -Library Collections -Library OperatingSystem -Library ../../../libraries/RequestsLibrary.py -Library ../../../libraries/Common.py +Library RequestsLibrary Variables ../../../variables/Variables.py *** Variables *** ${ODLREST} /controller/nb/v2/neutron/subnets ${OSREST} /v2.0/subnets/${SUBNETID} -${data} {"subnet":{"network_id":"${NETID}","ip_version":4,"cidr":"172.16.64.0/24","allocation_pools":[{"start":"172.16.64.20","end":"172.16.64.120"}]}} +${data} {"subnet":{"network_id":"${NETID}","ip_version":4,"cidr":"172.16.64.0/24","allocation_pools":[{"start":"172.16.64.20","end":"172.16.64.120"}]}} *** Test Cases *** Delete New subnet diff --git a/testcases/Controllers/ODL/custom_tests/neutron/060__delete_networks.robot b/testcases/Controllers/ODL/custom_tests/neutron/060__delete_networks.robot index 12828e18..210957b8 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/060__delete_networks.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/060__delete_networks.robot @@ -2,11 +2,7 @@ Documentation Checking Network deleted in OpenStack are deleted also in OpenDaylight Suite Setup Create Session OSSession http://${NEUTRON}:9696 headers=${X-AUTH} Suite Teardown Delete All Sessions -Library SSHLibrary -Library Collections -Library OperatingSystem -Library ../../../libraries/RequestsLibrary.py -Library ../../../libraries/Common.py +Library RequestsLibrary Variables ../../../variables/Variables.py *** Variables *** -- 2.16.6