diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_utils.py b/tests/test_utils.py new file mode 100644 index 0000000..3ae3622 --- /dev/null +++ b/tests/test_utils.py @@ -0,0 +1,6 @@ +from clipea import utils + + +def test_anystr_force_str(): + assert utils.anystr_force_str(b'hello') == 'hello' + assert utils.anystr_force_str('hello') == 'hello'