Skip to content

Commit baa842d

Browse files
committed
adding test module to start writing db independent tests
1 parent 8042e1e commit baa842d

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/django.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
pip install -r requirements.txt
3838
- name: Run Tests
3939
run: |
40-
python manage.py test ponder.tests
40+
python manage.py test --pattern="tests_*.py"

ponder/test/__init__.py

Whitespace-only changes.

ponder/test/tests_model.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from django.test import SimpleTestCase
2+
3+
class ModelTest(SimpleTestCase):
4+
# def setUp(self):
5+
6+
def test_self(self):
7+
self.assertEqual("Hello", "Hello")

0 commit comments

Comments
 (0)