Skip to content

Commit 70e7656

Browse files
committed
teardown edge case
1 parent 383d914 commit 70e7656

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python/lib/sift_client/_tests/resources/test_reports.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ def test_rule(sift_client, nostromo_asset, ci_pytest_tag):
4949
)
5050
rule = created_rule
5151
if rule.is_archived:
52-
rule = sift_client.rules.unarchive(rule_ids=[rule.id_])
52+
rule = rule.unarchive()
5353
yield rule
5454
if created_rule:
55-
sift_client.rules.archive(rule_ids=[created_rule.id_])
55+
created_rule.archive()
5656

5757

5858
def test_client_binding(sift_client):

0 commit comments

Comments
 (0)