Skip to content

Commit cddcc09

Browse files
author
Prasanna Santhanam
committed
Fixing the remoteSSHClient imports, migrate VM, SSVM and router tests
1 parent ecfa3e7 commit cddcc09

23 files changed

Lines changed: 113 additions & 89 deletions

‎test/integration/component/test_accounts.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from integration.lib.utils import *
2323
from integration.lib.base import *
2424
from integration.lib.common import *
25-
from marvin import remoteSSHClient
25+
from marvin.remoteSSHClient import remoteSSHClient
2626
import datetime
2727

2828

‎test/integration/component/test_blocker_bugs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#Import Local Modules
2525
from marvin.cloudstackTestCase import *
2626
from marvin.cloudstackAPI import *
27-
from marvin import remoteSSHClient
27+
from marvin.remoteSSHClient import remoteSSHClient
2828

2929
class Services:
3030
"""Test Services

‎test/integration/component/test_egress_rules.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import marvin
2222
from marvin.cloudstackTestCase import *
2323
from marvin.cloudstackAPI import *
24-
from marvin import remoteSSHClient
24+
from marvin.remoteSSHClient import remoteSSHClient
2525
from integration.lib.utils import *
2626
from integration.lib.base import *
2727
from integration.lib.common import *

‎test/integration/component/test_high_availability.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from integration.lib.utils import *
2525
from integration.lib.base import *
2626
from integration.lib.common import *
27-
from marvin import remoteSSHClient
27+
from marvin.remoteSSHClient import remoteSSHClient
2828
import datetime
2929

3030

@@ -171,7 +171,7 @@ def tearDown(self):
171171
except Exception as e:
172172
raise Exception("Warning: Exception during cleanup : %s" % e)
173173
return
174-
@unittest.skip("skipped")
174+
175175
def test_01_host_maintenance_mode(self):
176176
"""Test host maintenance mode
177177
"""

‎test/integration/component/test_network_offering.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from integration.lib.utils import *
2525
from integration.lib.base import *
2626
from integration.lib.common import *
27-
from marvin import remoteSSHClient
27+
from marvin.remoteSSHClient import remoteSSHClient
2828
import datetime
2929

3030

@@ -1579,7 +1579,7 @@ def test_01_nwupgrade_netscaler_conserve_on(self):
15791579
vpns = Vpn.list(
15801580
self.apiclient,
15811581
publicipid=src_nat.id,
1582-
listall=True,
1582+
listall=True,
15831583
)
15841584

15851585
self.assertEqual(

‎test/integration/component/test_project_configs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from integration.lib.utils import *
2424
from integration.lib.base import *
2525
from integration.lib.common import *
26-
from marvin import remoteSSHClient
26+
from marvin.remoteSSHClient import remoteSSHClient
2727
import datetime
2828

2929

‎test/integration/component/test_project_usage.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from integration.lib.utils import *
2424
from integration.lib.base import *
2525
from integration.lib.common import *
26-
from marvin import remoteSSHClient
26+
from marvin.remoteSSHClient import remoteSSHClient
2727
import datetime
2828

2929
class Services:

‎test/integration/component/test_projects.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from integration.lib.utils import *
2424
from integration.lib.base import *
2525
from integration.lib.common import *
26-
from marvin import remoteSSHClient
26+
from marvin.remoteSSHClient import remoteSSHClient
2727
import datetime
2828

2929

‎test/integration/component/test_routers.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
import marvin
2121
from marvin.cloudstackTestCase import *
2222
from marvin.cloudstackAPI import *
23-
from marvin import remoteSSHClient
2423
from integration.lib.utils import *
2524
from integration.lib.base import *
2625
from integration.lib.common import *
26+
from marvin.remoteSSHClient import remoteSSHClient
2727

2828
#Import System modules
2929
import time
@@ -80,6 +80,7 @@ def __init__(self):
8080
# Algorithm used for load balancing
8181
"privateport": 22,
8282
"publicport": 2222,
83+
"protocol": 'TCP',
8384
},
8485
"fw_rule":{
8586
"startport": 1,

‎test/integration/component/test_security_groups.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
import marvin
2222
from marvin.cloudstackTestCase import *
2323
from marvin.cloudstackAPI import *
24-
from marvin import remoteSSHClient
2524
from integration.lib.utils import *
2625
from integration.lib.base import *
2726
from integration.lib.common import *
27+
from marvin.remoteSSHClient import remoteSSHClient
2828

2929
#Import System modules
3030
import time

0 commit comments

Comments
 (0)