test(test_rules.py): clear rules after test completes
This commit is contained in:
parent
2a681c1874
commit
8534bf96d5
@ -44,6 +44,7 @@ def test_pre_call_rule():
|
||||
except Exception as e:
|
||||
pass
|
||||
asyncio.run(test_async_response())
|
||||
litellm.pre_call_rules = []
|
||||
|
||||
# test_pre_call_rule()
|
||||
## Test 2: Post-call rule
|
||||
@ -70,5 +71,7 @@ def test_post_call_rule():
|
||||
except Exception as e:
|
||||
pass
|
||||
asyncio.run(test_async_response())
|
||||
litellm.pre_call_rules = []
|
||||
litellm.post_call_rules = []
|
||||
|
||||
# test_post_call_rule()
|
||||
Loading…
Reference in New Issue
Block a user