From 6f13cb682803522c84874abf1db3b7dd423275b5 Mon Sep 17 00:00:00 2001 From: Evan Sosenko Date: Tue, 2 Apr 2024 12:36:51 -0700 Subject: [PATCH 1/2] Add test directory --- Makefile | 2 +- seam/__init__.py | 1 + test/__init__.py | 0 test/todo_test.py | 10 ++++++++++ 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 test/__init__.py create mode 100644 test/todo_test.py diff --git a/Makefile b/Makefile index c019292..b77a4ce 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ format: @poetry run black . lint: - @poetry run pylint ./seam + @poetry run pylint ./seam ./test @poetry run black --check . @poetry run rstcheck README.rst diff --git a/seam/__init__.py b/seam/__init__.py index 95fa20a..4bcdc7d 100644 --- a/seam/__init__.py +++ b/seam/__init__.py @@ -1,3 +1,4 @@ """ SDK for the Seam API written in Python. """ +from .todo import todo diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/test/todo_test.py b/test/todo_test.py new file mode 100644 index 0000000..45ef86f --- /dev/null +++ b/test/todo_test.py @@ -0,0 +1,10 @@ +# pylint: disable=missing-docstring +# pylint: disable=unused-import + +import pytest + +from seam import todo + + +def test_todo(): + assert todo(True) is True From 6b3dc566639c3a03271eb32d8b985f11d31cdb08 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Tue, 2 Apr 2024 19:43:04 +0000 Subject: [PATCH 2/2] ci: Format code --- seam/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/seam/__init__.py b/seam/__init__.py index 4bcdc7d..cd6366f 100644 --- a/seam/__init__.py +++ b/seam/__init__.py @@ -1,4 +1,5 @@ """ SDK for the Seam API written in Python. """ + from .todo import todo