From ca7b0b04fb2ab7b25e973591e9e19b9bb7ba941b Mon Sep 17 00:00:00 2001 From: Syrus Dark Date: Wed, 4 Nov 2020 20:57:12 +0530 Subject: [PATCH] add import test --- tests/test_import.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/test_import.py diff --git a/tests/test_import.py b/tests/test_import.py new file mode 100644 index 0000000..a13190e --- /dev/null +++ b/tests/test_import.py @@ -0,0 +1,6 @@ +def test_import(): + import text2svg + assert True +def test_TextInfo(): + from text2svg import TextInfo + assert str(TextInfo("Hello World","hello.svg",50,50))=="TextInfo(b'Hello World')"