diff options
| author | Yuval Adam <_@yuv.al> | 2021-05-14 21:53:17 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-05-14 21:53:17 +0300 |
| commit | 3733b669471081fa21d35b5eda3d4765aaf14d68 (patch) | |
| tree | b0c4e81a90a4fb1f62c029d1a47168ebf3b10f7e | |
| parent | a12a4551a1401ba961c5311a5f580dc792c22830 (diff) | |
Initial module structure
| -rw-r--r-- | .github/workflows/build.yml | 6 | ||||
| -rw-r--r-- | alarmpy/__init__.py | 0 | ||||
| -rw-r--r-- | alarmpy/alarmpy.py (renamed from alarmpy.py) | 0 | ||||
| -rw-r--r-- | alarmpy/tests/__init__.py | 0 | ||||
| -rw-r--r-- | alarmpy/tests/test_alarmpy.py | 5 |
5 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e4ba0f7..bbe168b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,6 @@ jobs: - name: Run pylint run: | pipenv run lint - # - name: Test with pytest - # run: | - # pipenv run test + - name: Test with pytest + run: | + pipenv run test diff --git a/alarmpy/__init__.py b/alarmpy/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/alarmpy/__init__.py diff --git a/alarmpy.py b/alarmpy/alarmpy.py index f0693c5..f0693c5 100644 --- a/alarmpy.py +++ b/alarmpy/alarmpy.py diff --git a/alarmpy/tests/__init__.py b/alarmpy/tests/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/alarmpy/tests/__init__.py diff --git a/alarmpy/tests/test_alarmpy.py b/alarmpy/tests/test_alarmpy.py new file mode 100644 index 0000000..e7aa5cd --- /dev/null +++ b/alarmpy/tests/test_alarmpy.py @@ -0,0 +1,5 @@ +from ..alarmpy import Alarm + + +def test_foo(): + assert 1 == 1 |
