def setUp(self):
    from tethys_apps.models import TethysApp
    self.src_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
    self.root_app_path = os.path.join(self.src_dir, 'apps', 'tethysapp-test_app')
    self.app_model = TethysApp(name='test_app', package='test_app')
    self.app_model.save()
    pass
def setUp(self):
    from tethys_apps.models import TethysApp
    self.src_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
    self.root_app_path = os.path.join(self.src_dir, 'apps', 'tethysapp-test_app')
    self.app_model = TethysApp(name='test_app', package='test_app')
    self.app_model.save()
    pass