mirror of https://github.com/apache/cloudstack.git
Merge pull request #1561 from sanju1010/startport
CLOUDSTACK-9388: Remove string conversion in assertion statementRemove string convertion in Assertion statement, since the start port parameter in listFirewallAPI response is of type integer Test Result: ========= "Checking firewall rules deletion after static NAT disable ... === TestName: test_01_firewall_rules_port_fw | Status : SUCCESS === ok ---------------------------------------------------------------------- Ran 1 test in 153.974s OK * pr/1561: CLOUDSTACK-9388: Remove string conversion in assertion statement Signed-off-by: Will Stevens <williamstevens@gmail.com>
This commit is contained in:
commit
ecac28ba4e
|
|
@ -409,7 +409,7 @@ class TestNATRules(cloudstackTestCase):
|
|||
)
|
||||
self.assertEqual(
|
||||
firewall_response[0].startport,
|
||||
str(self.services["firewall_rule"]["startport"]),
|
||||
self.services["firewall_rule"]["startport"],
|
||||
"Firewall rule is not with specific port"
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue