Commit 4cfb7632 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Removed remains from times when tests could be run outside of runtests.py.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 4819797f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -83,7 +83,3 @@ Paragraph 2 with a link_
        t = Template("{% load markup %}{{ rest_content|restructuredtext }}")
        rendered = t.render(Context({'rest_content':self.rest_content})).strip()
        self.assertEqual(rendered, self.rest_content)


if __name__ == '__main__':
    unittest.main()
+0 −5
Original line number Diff line number Diff line
@@ -1581,8 +1581,3 @@ class TestEtagWithAdmin(TestCase):
            response = self.client.get('/test_admin/admin/')
            self.assertEqual(response.status_code, 200)
            self.assertTrue(response.has_header('ETag'))


if __name__ == '__main__':
    unittest.main()
+0 −3
Original line number Diff line number Diff line
@@ -53,6 +53,3 @@ class DBTypeCasts(unittest.TestCase):
            for inpt, expected in v:
                got = getattr(typecasts, k)(inpt)
                self.assertEqual(got, expected, "In %s: %r doesn't match %r. Got %r instead." % (k, inpt, expected, got))

if __name__ == '__main__':
    unittest.main()
+0 −3
Original line number Diff line number Diff line
@@ -153,6 +153,3 @@ class RenderToStringTest(unittest.TestCase):
        self.assertRaisesRegexp(TemplateDoesNotExist,
                                'No template names provided$',
                                loader.select_template, [])

if __name__ == "__main__":
    unittest.main()
+0 −4
Original line number Diff line number Diff line
@@ -1711,7 +1711,3 @@ class RequestContextTests(BaseTemplateResponseTest):
            template.Template('{% include "child" only %}').render(ctx),
            'none'
        )


if __name__ == "__main__":
    unittest.main()