summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml6
-rw-r--r--alarmpy/__init__.py0
-rw-r--r--alarmpy/alarmpy.py (renamed from alarmpy.py)0
-rw-r--r--alarmpy/tests/__init__.py0
-rw-r--r--alarmpy/tests/test_alarmpy.py5
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