mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-2542: Fix router test for basic zone
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
55d304a5bb
commit
2867c6a6df
@ -141,11 +141,17 @@ class TestRouterServices(cloudstackTestCase):
|
||||
# by checking status of dnsmasq process
|
||||
|
||||
# Find router associated with user account
|
||||
list_router_response = list_routers(
|
||||
self.apiclient,
|
||||
account=self.account.name,
|
||||
domainid=self.account.domainid
|
||||
)
|
||||
if self.zone.networktype == "Basic":
|
||||
list_router_response = list_routers(
|
||||
self.apiclient,
|
||||
listall="true"
|
||||
)
|
||||
else:
|
||||
list_router_response = list_routers(
|
||||
self.apiclient,
|
||||
account=self.account.name,
|
||||
domainid=self.account.domainid
|
||||
)
|
||||
self.assertEqual(
|
||||
isinstance(list_router_response, list),
|
||||
True,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user