Skip to content

Commit aece618

Browse files
author
caberos
committed
Fix to Christopher code review comments
1 parent 661a225 commit aece618

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/CLI/modules/firewall_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ def test_add_server(self, confirm_mock):
5858
def test_detail(self):
5959
result = self.run_command(['firewall', 'detail', 'vlan:1234'])
6060
self.assert_no_fail(result)
61+
json_result = json.loads(result.output)
62+
self.assertEqual(json_result['rules'][0]['action'], 'permit')
6163
self.assertEqual(json.loads(result.output),
6264
{'datacenter': 'Amsterdam 1',
6365
'id': 3130,

0 commit comments

Comments
 (0)