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/DMM | |
parent | ed0258a440cfad7023d643f717ab78ac568dc59b (diff) |
Python3: resources and libraries
Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/DMM')
-rw-r--r-- | resources/libraries/python/DMM/DMMConstants.py | 2 | ||||
-rw-r--r-- | resources/libraries/python/DMM/SetupDMMTest.py | 2 | ||||
-rw-r--r-- | resources/libraries/python/DMM/SingleCliSer.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/DMM/DMMConstants.py b/resources/libraries/python/DMM/DMMConstants.py index 265320a1d8..c4899df84a 100644 --- a/resources/libraries/python/DMM/DMMConstants.py +++ b/resources/libraries/python/DMM/DMMConstants.py @@ -13,7 +13,7 @@ """This file defines the constants variables for the DMM test.""" -class DMMConstants(object): +class DMMConstants: """Define the directory path for the DMM test.""" # DMM testing directory location at topology nodes diff --git a/resources/libraries/python/DMM/SetupDMMTest.py b/resources/libraries/python/DMM/SetupDMMTest.py index 993e11924e..d84cbd544f 100644 --- a/resources/libraries/python/DMM/SetupDMMTest.py +++ b/resources/libraries/python/DMM/SetupDMMTest.py @@ -139,7 +139,7 @@ def setup_node(args): logger.console('Setup of node {0} done'.format(node['host'])) return True -class SetupDMMTest(object): +class SetupDMMTest: """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/DMM/SingleCliSer.py b/resources/libraries/python/DMM/SingleCliSer.py index 8d7b648ea4..aa77eaa445 100644 --- a/resources/libraries/python/DMM/SingleCliSer.py +++ b/resources/libraries/python/DMM/SingleCliSer.py @@ -25,7 +25,7 @@ from resources.libraries.python.ssh import exec_cmd, exec_cmd_no_error from resources.libraries.python.DMM.DMMConstants import DMMConstants as con from resources.libraries.python.topology import Topology -class SingleCliSer(object): +class SingleCliSer: """Test DMM with single client-server topology.""" @staticmethod |