Rafał Pitoń 11 лет назад
Родитель
Сommit
3aaf183ae5
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      misago/core/tests/test_errorpages.py
  2. 1 1
      runtests.py

+ 1 - 0
misago/core/tests/test_errorpages.py

@@ -4,6 +4,7 @@ from django.test.client import RequestFactory
 from misago.core.testproject.views import (mock_custom_403_error_page,
                                            mock_custom_404_error_page)
 
+
 class ErrorPageViewsTests(TestCase):
     urls = 'misago.core.testproject.urls'
 

+ 1 - 1
runtests.py

@@ -14,7 +14,7 @@ def runtests():
         settings_path = os.path.join(test_project_path, "settings.py")
         with open(settings_path, "r") as py_file:
             settings_file = py_file.read().replace("{{ project_name }}",
-                                              "testproject")
+                                                   "testproject")
 
         with open(settings_path, "w") as py_file:
             py_file.write(settings_file)