diff options
Diffstat (limited to 'backend')
| -rw-r--r-- | backend/__init__.py | 0 | ||||
| -rw-r--r-- | backend/tests.py | 16 | ||||
| -rw-r--r-- | backend/views.py | 1 |
3 files changed, 17 insertions, 0 deletions
diff --git a/backend/__init__.py b/backend/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/backend/__init__.py diff --git a/backend/tests.py b/backend/tests.py new file mode 100644 index 0000000..501deb7 --- /dev/null +++ b/backend/tests.py @@ -0,0 +1,16 @@ +""" +This file demonstrates writing tests using the unittest module. These will pass +when you run "manage.py test". + +Replace this with more appropriate tests for your application. +""" + +from django.test import TestCase + + +class SimpleTest(TestCase): + def test_basic_addition(self): + """ + Tests that 1 + 1 always equals 2. + """ + self.assertEqual(1 + 1, 2) diff --git a/backend/views.py b/backend/views.py new file mode 100644 index 0000000..60f00ef --- /dev/null +++ b/backend/views.py @@ -0,0 +1 @@ +# Create your views here. |
