diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_utils.py | 4 | ||||
-rw-r--r-- | tests/test_verify.py | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py index bc0d918..9357fe8 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,6 +1,7 @@ import pytest -from fuzzycat.utils import author_similarity_score, cut, slugify_string, jaccard, token_n_grams, tokenize_string, nwise +from fuzzycat.utils import (author_similarity_score, cut, jaccard, nwise, slugify_string, + token_n_grams, tokenize_string) def test_slugify_string(): @@ -62,4 +63,3 @@ def test_nwise(): assert list(nwise("1234")) == [("1", "2"), ("3", "4")] assert list(nwise("1234", n=1)) == [("1", ), ("2", ), ("3", ), ("4", )] assert list(nwise([1, 2, 3, 4, 5], n=3)) == [(1, 2, 3), (4, 5)] - diff --git a/tests/test_verify.py b/tests/test_verify.py index 75e0277..90a22b5 100644 --- a/tests/test_verify.py +++ b/tests/test_verify.py @@ -1,8 +1,9 @@ -import pytest import csv import json -import os import logging +import os + +import pytest from fuzzycat.verify import Status, compare |