aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shorturls/__init__.py0
-rw-r--r--src/shorturls/models.py1
-rw-r--r--src/shorturls/tests/__init__.py1
-rw-r--r--src/shorturls/tests/models.py3
-rw-r--r--src/shorturls/tests/test_views.py5
-rw-r--r--src/shorturls/testsettings.py3
6 files changed, 13 insertions, 0 deletions
diff --git a/src/shorturls/__init__.py b/src/shorturls/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/shorturls/__init__.py
diff --git a/src/shorturls/models.py b/src/shorturls/models.py
new file mode 100644
index 0000000..17ab7c1
--- /dev/null
+++ b/src/shorturls/models.py
@@ -0,0 +1 @@
+# This file intentionally left blank. \ No newline at end of file
diff --git a/src/shorturls/tests/__init__.py b/src/shorturls/tests/__init__.py
new file mode 100644
index 0000000..d983d15
--- /dev/null
+++ b/src/shorturls/tests/__init__.py
@@ -0,0 +1 @@
+from test_views import * \ No newline at end of file
diff --git a/src/shorturls/tests/models.py b/src/shorturls/tests/models.py
new file mode 100644
index 0000000..f521e56
--- /dev/null
+++ b/src/shorturls/tests/models.py
@@ -0,0 +1,3 @@
+"""
+A handful of test modules to test out resolving redirects.
+""" \ No newline at end of file
diff --git a/src/shorturls/tests/test_views.py b/src/shorturls/tests/test_views.py
new file mode 100644
index 0000000..8fa11a4
--- /dev/null
+++ b/src/shorturls/tests/test_views.py
@@ -0,0 +1,5 @@
+from django.test import TestCase
+
+class RedirectViewTestCase(TestCase):
+ def test_this_is_working(self):
+ self.assertEquals(1, 1) \ No newline at end of file
diff --git a/src/shorturls/testsettings.py b/src/shorturls/testsettings.py
new file mode 100644
index 0000000..5ce99da
--- /dev/null
+++ b/src/shorturls/testsettings.py
@@ -0,0 +1,3 @@
+DATABASE_ENGINE = 'sqlite3'
+DATABASE_NAME = '/tmp/shorturls.db'
+INSTALLED_APPS = ['shorturls'] \ No newline at end of file