Commits

cleemesser committed 8089a1b

more testdjangoproject cleanups

  • Participants
  • Parent commits b4b591b
  • Tags 0.8.0beta

Comments (0)

Files changed (21)

File tests/testdjangoproject/dummyapp/__init__.py

Empty file removed.

File tests/testdjangoproject/dummyapp/models.py

-from django.db import models
-
-# Create your models here.

File tests/testdjangoproject/dummyapp/static/dummyapp/dummyapp_in_sub.txt

-a test of dummyapp/static/dummyapp static file 

File tests/testdjangoproject/dummyapp/static/dummyapptxt.txt

-this file is in dummyap/static/dummyapptxt.txt

File tests/testdjangoproject/dummyapp/tests.py

-"""
-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)

File tests/testdjangoproject/dummyapp/views.py

-# Create your views here.

File tests/testdjangoproject/notstatic3/textfile.txt

-This text file is in the notstatic3 directory

File tests/testdjangoproject/static/htmlfile.html

-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-<head>
-    <title>test static html file in static root</title>
-</head>
-<body>
-<h3>test static html file in static root</h3>
-</body>
-</html>

File tests/testdjangoproject/static/textfile.txt

-A test text file

File tests/testdjangoproject/static2/static2textfile.txt

-This textfile is in the static2 directory

File tests/testdjangoproject/static2/substatic2/sub_textfile.txt

-a text file that lives in static2/substatic2/sub_textfile.txt
-

File tests/testdjangoproject/static2/textfile.txt

-This textfile is in the static2 directory

File tests/testdjangoproject/testdjango/dummyapp/__init__.py

Empty file added.

File tests/testdjangoproject/testdjango/dummyapp/models.py

+from django.db import models
+
+# Create your models here.

File tests/testdjangoproject/testdjango/dummyapp/static/dummyapp/dummyapp_in_sub.txt

+a test of dummyapp/static/dummyapp static file 

File tests/testdjangoproject/testdjango/dummyapp/static/dummyapptxt.txt

+this file is in dummyap/static/dummyapptxt.txt

File tests/testdjangoproject/testdjango/dummyapp/tests.py

+"""
+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)

File tests/testdjangoproject/testdjango/dummyapp/views.py

+# Create your views here.

File tests/testdjangoproject/testdjango/static2/static2textfile.txt

+This textfile is in the static2 directory

File tests/testdjangoproject/testdjango/static2/substatic2/sub_textfile.txt

+a text file that lives in static2/substatic2/sub_textfile.txt
+

File tests/testdjangoproject/testdjango/static2/textfile.txt

+This textfile is in the static2 directory