Skip to content
Browse files

Add blank member app.

  • Loading branch information...
1 parent 843c388 commit 1eb37c3f92a2a61335d44867cd1fd05b26deb432 @kd7lxl committed Oct 25, 2010
Showing with 27 additions and 0 deletions.
  1. 0 member/__init__.py
  2. +3 −0 member/models.py
  3. +23 −0 member/tests.py
  4. +1 −0 member/views.py
View
0 member/__init__.py
No changes.
View
3 member/models.py
@@ -0,0 +1,3 @@
+from django.db import models
+
+# Create your models here.
View
23 member/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
+"""}
+
View
1 member/views.py
@@ -0,0 +1 @@
+# Create your views here.

0 comments on commit 1eb37c3

Please sign in to comment.
Something went wrong with that request. Please try again.