Skip to content

Commit

Permalink
TEST: Fix remaining jp2openjpeg failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmichel-otb committed Jul 12, 2016
1 parent 3fcc552 commit 5b785c4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions autotest/gdrivers/jp2openjpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2115,7 +2115,7 @@ def jp2openjpeg_42():
if ds.GetGCPCount() != 0:
gdaltest.post_reason('fail')
return 'fail'
if ds.GetMetadataDomainList() != ['', 'DERIVED_SUBDATASETS']:
if ds.GetMetadataDomainList() != ['DERIVED_SUBDATASETS']:
gdaltest.post_reason('fail')
print(ds.GetMetadataDomainList())
return 'fail'
Expand All @@ -2138,7 +2138,7 @@ def jp2openjpeg_42():
print(ds.GetGeoTransform())
return 'fail'
# Check that we have a GMLJP2 box
if ds.GetMetadataDomainList() != ['xml:gml.root-instance','', 'DERIVED_SUBDATASETS'] :
if ds.GetMetadataDomainList() != ['xml:gml.root-instance', 'DERIVED_SUBDATASETS'] :
gdaltest.post_reason('fail')
print(ds.GetMetadataDomainList())
return 'fail'
Expand All @@ -2160,7 +2160,7 @@ def jp2openjpeg_42():
gdaltest.post_reason('fail')
print(ds.GetGeoTransform())
return 'fail'
if ds.GetMetadataDomainList() != ['', 'DERIVED_SUBDATASETS']:
if ds.GetMetadataDomainList() != ['DERIVED_SUBDATASETS']:
gdaltest.post_reason('fail')
print(ds.GetMetadataDomainList())
return 'fail'
Expand All @@ -2187,7 +2187,7 @@ def jp2openjpeg_42():
gdaltest.post_reason('fail')
print(ds.GetGeoTransform())
return 'fail'
if ds.GetMetadataDomainList() != ['', 'DERIVED_SUBDATASETS']:
if ds.GetMetadataDomainList() != ['DERIVED_SUBDATASETS']:
gdaltest.post_reason('fail')
print(ds.GetMetadataDomainList())
return 'fail'
Expand Down Expand Up @@ -2218,7 +2218,7 @@ def jp2openjpeg_42():
gdaltest.post_reason('fail')
print(ds.GetGeoTransform())
return 'fail'
if ds.GetMetadataDomainList() != ['xml:gml.root-instance', '', 'DERIVED_SUBDATASETS']:
if ds.GetMetadataDomainList() != ['xml:gml.root-instance', 'DERIVED_SUBDATASETS']:
gdaltest.post_reason('fail')
print(ds.GetMetadataDomainList())
return 'fail'
Expand All @@ -2235,7 +2235,7 @@ def jp2openjpeg_42():
if len(ds.GetGCPs()) == 0:
gdaltest.post_reason('fail')
return 'fail'
if ds.GetMetadataDomainList() != ['', 'DERIVED_SUBDATASETS']:
if ds.GetMetadataDomainList() != ['DERIVED_SUBDATASETS']:
gdaltest.post_reason('fail')
print(ds.GetMetadataDomainList())
return 'fail'
Expand Down

0 comments on commit 5b785c4

Please sign in to comment.