Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Jan 22, 2025
1 parent ad35813 commit 4e6fd90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/schains/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def firewall_rules(self) -> CheckRes:
data = {
'inited': False,
'rules': False,
'persistant': False,
'persistent': False,
}
if self.config:
conf = self.cfm.skaled_config
Expand Down
2 changes: 2 additions & 0 deletions tests/schains/checks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ def test_volume_check(schain_checks, sample_false_checks, dutils):

def test_firewall_rules_check(schain_checks, rules_unsynced_checks):
schain_checks.rc.sync()
res = schain_checks.firewall_rules
print(res.data)
assert schain_checks.firewall_rules
assert not rules_unsynced_checks.firewall_rules.status

Expand Down

0 comments on commit 4e6fd90

Please sign in to comment.