diff options
author | Jan Gelety <jgelety@cisco.com> | 2019-11-12 05:27:43 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2019-11-28 18:26:21 +0100 |
commit | d68951ac245150eeefa6e0f4156e4c1b5c9e9325 (patch) | |
tree | 487554a7547218d27f0a61ec02b70502c32cdcb4 /resources/libraries/python/TLDK | |
parent | ed0258a440cfad7023d643f717ab78ac568dc59b (diff) |
Python3: resources and libraries
Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/TLDK')
-rw-r--r-- | resources/libraries/python/TLDK/SetupTLDKTest.py | 2 | ||||
-rw-r--r-- | resources/libraries/python/TLDK/TLDKConstants.py | 2 | ||||
-rw-r--r-- | resources/libraries/python/TLDK/UdpTest.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/TLDK/SetupTLDKTest.py b/resources/libraries/python/TLDK/SetupTLDKTest.py index e4d7120022..e9aaec7149 100644 --- a/resources/libraries/python/TLDK/SetupTLDKTest.py +++ b/resources/libraries/python/TLDK/SetupTLDKTest.py @@ -206,7 +206,7 @@ def delete_local_tarball(tarball): call(split('sh -c "rm {0} > /dev/null 2>&1"'.format(tarball))) -class SetupTLDKTest(object): +class SetupTLDKTest: """Setup suite run on topology nodes. Many VAT/CLI based tests need the scripts at remote hosts before executing diff --git a/resources/libraries/python/TLDK/TLDKConstants.py b/resources/libraries/python/TLDK/TLDKConstants.py index 153b36c3ab..57b7fa23a1 100644 --- a/resources/libraries/python/TLDK/TLDKConstants.py +++ b/resources/libraries/python/TLDK/TLDKConstants.py @@ -15,7 +15,7 @@ """This file defines the constants variables for the TLDK test.""" -class TLDKConstants(object): +class TLDKConstants: """Define the directory path for the TLDK test.""" # TLDK testing directory location at topology nodes diff --git a/resources/libraries/python/TLDK/UdpTest.py b/resources/libraries/python/TLDK/UdpTest.py index b3f1b221e6..8973fe45d9 100644 --- a/resources/libraries/python/TLDK/UdpTest.py +++ b/resources/libraries/python/TLDK/UdpTest.py @@ -26,7 +26,7 @@ from resources.libraries.python.ssh import SSH from resources.libraries.python.TLDK.TLDKConstants import TLDKConstants as con from resources.libraries.python.topology import Topology -class UdpTest(object): +class UdpTest: """Test the TLDK UDP function.""" @staticmethod |