aboutsummaryrefslogtreecommitdiffstats
path: root/src/workflow/urls.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-07-08 16:39:54 -0400
committerParker Berberian <pberberian@iol.unh.edu>2019-07-10 09:12:20 -0400
commit38b4412f8b6cf21371b67e8de917f5a24b2bf72d (patch)
treeb19adcaf27fce5d161b226017b62ce7e91a83be2 /src/workflow/urls.py
parent35c8640a32b7c6b3b35d68367668898fdfd7d423 (diff)
Fixes and adds Tests
Fixes old tests and adds some more. Also fixes linting errors Change-Id: If84f0ed2dab5f9ffa7ce2deb92e058b0076d9154 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/workflow/urls.py')
-rw-r--r--src/workflow/urls.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/workflow/urls.py b/src/workflow/urls.py
index 298db95..b1b95a7 100644
--- a/src/workflow/urls.py
+++ b/src/workflow/urls.py
@@ -9,12 +9,8 @@
from django.conf.urls import url
-from django.conf import settings
from workflow.views import manager_view, viewport_view, add_workflow, remove_workflow, create_workflow
-from workflow.models import Repository
-from workflow.resource_bundle_workflow import Define_Hardware, Define_Nets, Resource_Meta_Info
-from workflow.booking_workflow import SWConfig_Select, Booking_Resource_Select, Booking_Meta
app_name = 'workflow'
urlpatterns = [
@@ -25,11 +21,3 @@ urlpatterns = [
url(r'^pop/$', remove_workflow, name='remove_workflow'),
url(r'^$', viewport_view, name='viewport')
]
-
-if settings.TESTING:
- urlpatterns.append(url(r'^workflow/step/define_hardware$', Define_Hardware("", Repository()).test_render))
- urlpatterns.append(url(r'^workflow/step/define_net$', Define_Nets("", Repository()).test_render))
- urlpatterns.append(url(r'^workflow/step/resource_meta$', Resource_Meta_Info("", Repository()).test_render))
- urlpatterns.append(url(r'^workflow/step/booking_meta$', Booking_Meta("", Repository()).test_render))
- urlpatterns.append(url(r'^workflow/step/software_select$', SWConfig_Select("", Repository()).test_render))
- urlpatterns.append(url(r'^workflow/step/resource_select$', Booking_Resource_Select("", Repository()).test_render))