From 5004f5f5909f604d70aff4268327c093ece2d5d7 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Mon, 10 Dec 2012 12:57:36 -0500 Subject: [PATCH] Archiver app initial code --- archiver/__init__.py | 0 archiver/models.py | 3 +++ archiver/tests.py | 16 ++++++++++++++++ archiver/views.py | 1 + 4 files changed, 20 insertions(+) create mode 100644 archiver/__init__.py create mode 100644 archiver/models.py create mode 100644 archiver/tests.py create mode 100644 archiver/views.py diff --git a/archiver/__init__.py b/archiver/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/archiver/models.py b/archiver/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/archiver/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/archiver/tests.py b/archiver/tests.py new file mode 100644 index 0000000..501deb7 --- /dev/null +++ b/archiver/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/archiver/views.py b/archiver/views.py new file mode 100644 index 0000000..60f00ef --- /dev/null +++ b/archiver/views.py @@ -0,0 +1 @@ +# Create your views here.