Esempio n. 1
0
 def setUp(self):
     self.root = os.path.abspath(os.path.dirname(__file__))
     self.test_root = os.path.join(self.root, 'test_workspace')
     self.test_root_a = os.path.join(self.test_root, 'test_workspace_a')
     self.test_root2 = os.path.join(self.root, 'test_workspace2')
     self.app = tethys_app_base.TethysAppBase()
     self.user = UserFactory()
Esempio n. 2
0
 def test_job_templates(self):
     self.assertIsNone(tethys_app_base.TethysAppBase().job_templates())
Esempio n. 3
0
 def test_permissions(self):
     self.assertIsNone(tethys_app_base.TethysAppBase().permissions())
Esempio n. 4
0
 def test_handoff_handlers(self):
     self.assertIsNone(tethys_app_base.TethysAppBase().handoff_handlers())
Esempio n. 5
0
 def test_web_processing_service_settings(self):
     self.assertIsNone(
         tethys_app_base.TethysAppBase().web_processing_service_settings())
Esempio n. 6
0
 def test_spatial_dataset_service_settings(self):
     self.assertIsNone(
         tethys_app_base.TethysAppBase().spatial_dataset_service_settings())
Esempio n. 7
0
 def test_persistent_store_settings(self):
     self.assertIsNone(
         tethys_app_base.TethysAppBase().persistent_store_settings())
Esempio n. 8
0
 def test_custom_settings(self):
     self.assertIsNone(tethys_app_base.TethysAppBase().custom_settings())
Esempio n. 9
0
 def test__repr__(self):
     result = tethys_app_base.TethysAppBase().__repr__()
     self.assertEqual('<TethysApp: >', result)
Esempio n. 10
0
 def setUp(self):
     self.app = tethys_app_base.TethysAppBase()
     self.user = UserFactory()
     self.request_factory = RequestFactory()
     self.fake_name = 'fake_name'