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()
def test_job_templates(self): self.assertIsNone(tethys_app_base.TethysAppBase().job_templates())
def test_permissions(self): self.assertIsNone(tethys_app_base.TethysAppBase().permissions())
def test_handoff_handlers(self): self.assertIsNone(tethys_app_base.TethysAppBase().handoff_handlers())
def test_web_processing_service_settings(self): self.assertIsNone( tethys_app_base.TethysAppBase().web_processing_service_settings())
def test_spatial_dataset_service_settings(self): self.assertIsNone( tethys_app_base.TethysAppBase().spatial_dataset_service_settings())
def test_persistent_store_settings(self): self.assertIsNone( tethys_app_base.TethysAppBase().persistent_store_settings())
def test_custom_settings(self): self.assertIsNone(tethys_app_base.TethysAppBase().custom_settings())
def test__repr__(self): result = tethys_app_base.TethysAppBase().__repr__() self.assertEqual('<TethysApp: >', result)
def setUp(self): self.app = tethys_app_base.TethysAppBase() self.user = UserFactory() self.request_factory = RequestFactory() self.fake_name = 'fake_name'