commit 41a89311408a3c9314cb60a03b43375c7e9202f9 Author: Daniele Tricoli Date: Tue Oct 27 00:28:00 2009 +0100 Initial import diff --git a/.hgignore b/.hgignore new file mode 100644 index 0000000..dbd1b19 --- /dev/null +++ b/.hgignore @@ -0,0 +1,3 @@ +syntax:glob +*~ +*.pyc diff --git a/microcms/__init__.py b/microcms/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/microcms/models.py b/microcms/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/microcms/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/microcms/tests.py b/microcms/tests.py new file mode 100644 index 0000000..2247054 --- /dev/null +++ b/microcms/tests.py @@ -0,0 +1,23 @@ +""" +This file demonstrates two different styles of tests (one doctest and one +unittest). These will both pass when you run "manage.py test". + +Replace these 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.failUnlessEqual(1 + 1, 2) + +__test__ = {"doctest": """ +Another way to test that 1 + 1 is equal to 2. + +>>> 1 + 1 == 2 +True +"""} + diff --git a/microcms/views.py b/microcms/views.py new file mode 100644 index 0000000..60f00ef --- /dev/null +++ b/microcms/views.py @@ -0,0 +1 @@ +# Create your views here.