[#5145] Renamed test_(neighborhood|project)_root.py to exclude them from test run

Signed-off-by: Cory Johns johnsca@geek.net

Cory Johns Cory Johns 2012-10-29

changed Allura/allura/tests/functional/test_neighborhood.py
changed run_tests
copied Allura/allura/controllers/test_neighborhood_root.py -> Allura/allura/controllers/basetest_neighborhood_root.py
copied Allura/allura/controllers/test_project_root.py -> Allura/allura/controllers/basetest_project_root.py
Allura/allura/tests/functional/test_neighborhood.py Diff Switch to side-by-side view
Loading...
run_tests Diff Switch to side-by-side view
Loading...
Allura/allura/controllers/test_neighborhood_root.py to Allura/allura/controllers/basetest_neighborhood_root.py
--- a/Allura/allura/controllers/test_neighborhood_root.py
+++ b/Allura/allura/controllers/basetest_neighborhood_root.py
@@ -30,7 +30,7 @@
 
 log = logging.getLogger(__name__)
 
-class TestNeighborhoodRootController(WsgiDispatchController, NeighborhoodController):
+class BasetestNeighborhoodRootController(WsgiDispatchController, NeighborhoodController):
     '''Root controller for testing -- it behaves just like a
     NeighborhoodController for test/ except that all tools are mounted,
     on-demand, at the mount point that is the same as their entry point
@@ -58,7 +58,7 @@
             setattr(self, attr, getattr(proxy_root, attr))
         self.gsearch = proxy_root.search
         self.rest = RestController()
-        super(TestNeighborhoodRootController, self).__init__()
+        super(BasetestNeighborhoodRootController, self).__init__()
 
     def _setup_request(self):
         pass
Allura/allura/controllers/test_project_root.py to Allura/allura/controllers/basetest_project_root.py
--- a/Allura/allura/controllers/test_project_root.py
+++ b/Allura/allura/controllers/basetest_project_root.py
@@ -30,7 +30,7 @@
 
 log = logging.getLogger(__name__)
 
-class TestProjectRootController(WsgiDispatchController, ProjectController):
+class BasetestProjectRootController(WsgiDispatchController, ProjectController):
     '''Root controller for testing -- it behaves just like a
     ProjectController for test/ except that all tools are mounted,
     on-demand, at the mount point that is the same as their entry point
@@ -60,7 +60,7 @@
             setattr(self, attr, getattr(proxy_root, attr))
         self.gsearch = proxy_root.search
         self.rest = RestController()
-        super(TestProjectRootController, self).__init__()
+        super(BasetestProjectRootController, self).__init__()
 
     def _setup_request(self):
         # This code fixes a race condition in our tests