Browse Source

fixed testrunner

Rafał Pitoń 10 years ago
parent
commit
29a342f1b7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      runtests.py

+ 2 - 2
runtests.py

@@ -17,8 +17,8 @@ def runtests():
         test_runner_path, 'misago/project_template/media')
         test_runner_path, 'misago/project_template/media')
 
 
     test_project_path = os.path.join(test_runner_path, "testproject")
     test_project_path = os.path.join(test_runner_path, "testproject")
-    test_project_avatars_path = os.path.join(test_runner_path, "avatar_store")
-    test_project_media_path = os.path.join(test_runner_path, "media")
+    test_project_avatars_path = os.path.join(test_project_path, "avatar_store")
+    test_project_media_path = os.path.join(test_project_path, "media")
     if not os.path.exists(test_project_path):
     if not os.path.exists(test_project_path):
         shutil.copytree(project_template_path, test_project_path)
         shutil.copytree(project_template_path, test_project_path)
         shutil.copytree(avatars_store_path, test_project_avatars_path)
         shutil.copytree(avatars_store_path, test_project_avatars_path)