Skip to content

Commit

Permalink
Merge pull request #3 from seamapi/add-test-dir
Browse files Browse the repository at this point in the history
Add test directory
  • Loading branch information
razor-x authored Apr 2, 2024
2 parents abcc95c + 6b3dc56 commit bd9c078
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions seam/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""
SDK for the Seam API written in Python.
"""

from .todo import todo
Empty file added test/__init__.py
Empty file.
10 changes: 10 additions & 0 deletions test/todo_test.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bd9c078

Please sign in to comment.