1 ##############################################################################
2 # Copyright (c) 2018 Parker Berberian, Sawyer Bergeron, and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 from django.test import TestCase, Client
11 class SuperViewTestCase(TestCase):
16 response = self.client.get(self.url)
17 self.assertLess(response.status_code, 300)
20 class DefineHardwareViewTestCase(SuperViewTestCase):
21 url = "/wf/workflow/step/define_hardware"
23 class DefineNetworkViewTestCase(SuperViewTestCase):
24 url = "/wf/workflow/step/define_net"
26 class ResourceMetaViewTestCase(SuperViewTestCase):
27 url = "/wf/workflow/step/resource_meta"
29 class BookingMetaViewTestCase(SuperViewTestCase):
30 url = "/wf/workflow/step/booking_meta"
32 class SoftwareSelectViewTestCase(SuperViewTestCase):
33 url = "/wf/workflow/step/software_select"
35 class ResourceSelectViewTestCase(SuperViewTestCase):
36 url = "/wf/workflow/step/resource_select"