forked from phoenix/litellm-mirror
test(test_rules.py): clear rules after test completes
This commit is contained in:
parent
2a681c1874
commit
8534bf96d5
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue