cleemesser avatar cleemesser committed 8089a1b

more testdjangoproject cleanups

Comments (0)

Files changed (21)

Add a comment to this file

tests/testdjangoproject/dummyapp/__init__.py

Empty file removed.

tests/testdjangoproject/dummyapp/models.py

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

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

-a test of dummyapp/static/dummyapp static file 

tests/testdjangoproject/dummyapp/static/dummyapptxt.txt

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

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)

tests/testdjangoproject/dummyapp/views.py

-# Create your views here.

tests/testdjangoproject/notstatic3/textfile.txt

-This text file is in the notstatic3 directory

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>

tests/testdjangoproject/static/textfile.txt

-A test text file

tests/testdjangoproject/static2/static2textfile.txt

-This textfile is in the static2 directory

tests/testdjangoproject/static2/substatic2/sub_textfile.txt

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

tests/testdjangoproject/static2/textfile.txt

-This textfile is in the static2 directory
Add a comment to this file

tests/testdjangoproject/testdjango/dummyapp/__init__.py

Empty file added.

tests/testdjangoproject/testdjango/dummyapp/models.py

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

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

+a test of dummyapp/static/dummyapp static file 

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

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

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)

tests/testdjangoproject/testdjango/dummyapp/views.py

+# Create your views here.

tests/testdjangoproject/testdjango/static2/static2textfile.txt

+This textfile is in the static2 directory

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

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

tests/testdjangoproject/testdjango/static2/textfile.txt

+This textfile is in the static2 directory
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.