Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
arosics
Commits
c7fda6b8
Commit
c7fda6b8
authored
Mar 08, 2018
by
Daniel Scheffler
Browse files
Removed TestBandnames.
parent
6716aeb4
Pipeline
#2877
passed with stages
in 2 minutes and 56 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
tests/test_COREG_LOCAL.py
View file @
c7fda6b8
...
...
@@ -86,39 +86,3 @@ class CompleteWorkflow_INTER1_S2A_S2A(unittest.TestCase):
#
# # Part 2: Saving the results of each testsuite and the query for the job.status in individual variables.
# testResult = unittest.TextTestRunner(verbosity=2).run(alltests)
class
TestBandnames
(
unittest
.
TestCase
):
def
setUp
(
self
):
import
dill
with
open
(
'/home/gfz-fe/scheffler/temp/coreg_bug_bandnames/CRL_argskwargs.dill'
,
'rb'
)
as
inF
:
argskwargs
=
dill
.
load
(
inF
)
argskwargs
[
'im_ref'
]
=
'/home/gfz-fe/scheffler/temp/coreg_bug_bandnames/ref_image.tif'
argskwargs
[
'im_tgt'
]
=
'/home/gfz-fe/scheffler/temp/coreg_bug_bandnames/L2A_T32UPV_20170430T103021_B05_20m.jp2'
argskwargs
[
'q'
]
=
False
self
.
argskwargs
=
argskwargs
def
test
(
self
):
crl
=
COREG_LOCAL
(
**
self
.
argskwargs
)
crl
.
tiepoint_grid
crl
.
correct_shifts
()
# class TestBandnames(unittest.TestCase):
# def setUp(self):
# import dill
# with open('/home/gfz-fe/scheffler/temp/coreg_bug_bandnames/CRL_argskwargs_60m.dill', 'rb') as inF:
# argskwargs = dill.load(inF)
#
# argskwargs['im_ref'] = '/home/gfz-fe/scheffler/temp/coreg_bug_bandnames/ref_image.tif'
# argskwargs['im_tgt'] = '/home/gfz-fe/scheffler/temp/coreg_bug_bandnames/L2A_T32UPV_20170430T103021_B01_60m.jp2'
# argskwargs['q'] = False
#
# self.argskwargs = argskwargs
#
# def test(self):
# crl = COREG_LOCAL(**self.argskwargs)
# crl.tiepoint_grid
# crl.correct_shifts()
Daniel Scheffler
@danschef
mentioned in issue
EnMAP/sicor#22 (closed)
·
Mar 08, 2018
mentioned in issue
EnMAP/sicor#22 (closed)
mentioned in issue EnMAP/sicor#22
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment