From 1183c5788cd571a26a4b3a80e3f0c46122f1c38c Mon Sep 17 00:00:00 2001 From: Dave Hulbert Date: Sun, 3 Dec 2023 19:47:34 +0000 Subject: [PATCH] Add a quick test, to check the pipeline --- tests/__init__.py | 0 tests/test_utils.py | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 tests/__init__.py create mode 100644 tests/test_utils.py 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'