Commit 550cccb5 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixes.


Former-commit-id: 284ab691
Former-commit-id: 69fcd19e
parent e5522a45
......@@ -29,7 +29,7 @@ class Test_get_options(TestCase):
class Test_JobConfig(TestCase):
def setUp(self):
self.jobID = 26186662
self.db_host = 'localhost'
self.db_host = 'geoms'
def test(self):
cfg = JobConfig(self.jobID, self.db_host)
......
......@@ -30,7 +30,7 @@ class BaseTest_ExceptionHandler:
[ds.update({'proc_level': None}) for ds in self.PC.config.data_list]
self.PC.job.status = 'running'
self.PC.config.status = 'running'
self.PC.update_DB_job_record() # TODO implement that into job.status.setter
def tearDown(self):
......
......@@ -23,9 +23,8 @@ gmsRepo_rootpath = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')
class Test_DEM_Creator(unittest.TestCase):
def setUp(self):
# Testjob Landsat-8
set_config(exec_mode='Python', job_ID=26186196, db_host='geoms', reset=True,
job_kwargs=dict(is_test=True,
path_archive=os.path.join(gmsRepo_rootpath, 'tests', 'data', 'archive_data')))
set_config(exec_mode='Python', job_ID=26186196, db_host='geoms', reset=True, is_test=True,
path_archive=os.path.join(gmsRepo_rootpath, 'tests', 'data', 'archive_data'))
self.boxMapXY = ((277365.0, 5546625.0), (292365.0, 5546625.0), (292365.0, 5531625.0), (277365.0, 5531625.0))
self.prj = EPSG2WKT(32635)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment