Skip to content

Commit ecac28b

Browse files
committed
Merge pull request apache#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>
2 parents ff0b095 + e363fd2 commit ecac28b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/integration/component/test_blocker_bugs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def test_01_firewall_rules_port_fw(self):
409409
)
410410
self.assertEqual(
411411
firewall_response[0].startport,
412-
str(self.services["firewall_rule"]["startport"]),
412+
self.services["firewall_rule"]["startport"],
413413
"Firewall rule is not with specific port"
414414
)
415415

0 commit comments

Comments
 (0)