Skip to content

Commit b5d8d0f

Browse files
Update test_dashboard_api_python_library.py
1 parent a1bb3f1 commit b5d8d0f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_dashboard_api_python_library.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def test_create_network_appliance_vlan(dashboard, network):
141141

142142
def test_update_l3_firewall_rules(dashboard, org_id, network):
143143
policy_objects = dashboard.organizations.getOrganizationPolicyObjects(org_id)
144+
print(f'policy_objects length is {len(policy_objects)}')
144145
new_rules = {
145146
"rules": [
146147
{
@@ -168,6 +169,8 @@ def test_update_l3_firewall_rules(dashboard, org_id, network):
168169
updated_rules = dashboard.appliance.updateNetworkApplianceFirewallL3FirewallRules(network["id"],
169170
**new_rules)["rules"]
170171
assert updated_rules is not None
172+
print(f'new_rules["rules"] length is {len(new_rules["rules"])}')
173+
print(f'updated_rules length is {len(updated_rules)}')
171174
assert len(updated_rules) == 3
172175
assert updated_rules[0]["comment"] == "HamByIP"
173176
assert updated_rules[1]["comment"] == "Ham"

0 commit comments

Comments
 (0)