regression: fix for python3 client test
authorYaroslav Brustinov <[email protected]>
Thu, 27 Oct 2016 07:58:16 +0000 (09:58 +0200)
committerYaroslav Brustinov <[email protected]>
Thu, 27 Oct 2016 07:58:16 +0000 (09:58 +0200)
scripts/automation/regression/stateful_tests/trex_client_pkg_test.py

index 7e7ce2b..892be96 100755 (executable)
@@ -7,14 +7,12 @@ from nose.plugins.attrib import attr
 @attr('client_package')
 class CTRexClientPKG_Test(CTRexGeneral_Test):
     """This class tests TRex client package"""
-    configured_dut = False
 
     def setUp(self):
         CTRexGeneral_Test.setUp(self)
-        if not CTRexClientPKG_Test.configured_dut and not self.is_loopback:
+        if not self.is_loopback:
             self.router.configure_basic_interfaces()
             self.router.config_pbr(mode = 'config')
-        CTRexClientPKG_Test.configured_dut = True
         self.unzip_client_package()
 
     def run_client_package_stf_example(self, python_version):