Commits

Mikhail Korobov  committed aa4b0b6

Remove unneded extra South fix that causes troubles if South is not installed. South was fixed by bkonkle's commit anyway. Add 'Testing' classifier to setup.py. Suggestion to use 1.0.3 instead of 1.0.2 for django < 1.2

  • Participants
  • Parent commits 33e8646

Comments (0)

Files changed (3)

File django_coverage/coverage_runner.py

     msg = """
 
     django-coverage 1.1 requires django 1.2+.
-    Please use django-coverage 1.0.2 if you have django 1.1 or django 1.0
+    Please use django-coverage 1.0.3 if you have django 1.1 or django 1.0
     """
     raise Exception(msg)
 

File django_coverage/management/commands/test_coverage.py

             "entire site if no apps are specified. Then generates coverage "
             "report both onscreen and as HTML.")
 
-    def __init__(self):
-        super(Command, self).__init__()
-    #Added to allow django-coverage to work with south
-    #Code adapted from Marcin Swierczynski's blog
-    #http://blog.swierczynski.net/2010/07/code-coverage-analysis-in-django/
-        try:
-            from south.management.commands import patch_for_test_db_setup
-            patch_for_test_db_setup()
-        except ImportError:
-            pass
-
     def handle(self, *test_labels, **options):
         """
         Replaces the original test runner with the coverage test runner, but
           'Intended Audience :: Developers',
           'License :: OSI Approved :: Apache Software License',
           'Programming Language :: Python',
-          'Topic :: Software Development :: Libraries :: Python Modules'
+          'Topic :: Software Development :: Libraries :: Python Modules',
+          'Topic :: Software Development :: Testing',
       ],
 )