diff options
author | ZJaume <jzaragoza@prompsit.com> | 2022-09-23 13:35:40 +0300 |
---|---|---|
committer | ZJaume <jzaragoza@prompsit.com> | 2022-09-23 13:35:40 +0300 |
commit | 02fa0695762f09fc261090cea08d1af455910b4d (patch) | |
tree | 68d83b276d0b8408db77615a51cb185f999f8437 | |
parent | e9bc6d1016ad9aa0e84e0ec135a6961679a21f34 (diff) |
Delete args object to avoid interference between teststests
-rw-r--r-- | tests/bicleaner_ai_test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bicleaner_ai_test.py b/tests/bicleaner_ai_test.py index fd2f365..1746f09 100644 --- a/tests/bicleaner_ai_test.py +++ b/tests/bicleaner_ai_test.py @@ -63,6 +63,8 @@ def test_train_full(): assert clf_set['batch_size'] == batch assert yml['classifier_type'] == classifier_type + del args + def test_train_lite(): with TemporaryDirectory(prefix='bicleaner-ai-test.') as dir_: @@ -120,6 +122,8 @@ def test_train_lite(): assert clf_set['vocab_size'] == vocab_size assert yml['classifier_type'] == classifier_type + del args + def download_model(filename, url): ''' Download models for classifier test ''' |