Skip to content

Commit

Permalink
Update all the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
omad committed May 26, 2016
1 parent 5b529ab commit 670dc79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eodatasets/drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,8 @@ def fill_metadata(self, dataset, path, additional_files=()):

if not dataset.lineage.machine:
dataset.lineage.machine = ptype.MachineMetadata()
nbar_version = nbar_metadata['algorithm_information']['software_version']

nbar_version = nbar_metadata['algorithm_information']['software_version']
dataset.lineage.machine.note_software_version('nbar', str(nbar_version))

dataset.product_doi = nbar_metadata['algorithm_information']['arg25_doi']
Expand Down
4 changes: 2 additions & 2 deletions tests/test_drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def test_nbar_fill_metadata(self):
'reflectance_terrain_7.bin': '',
'reflectance_terrain_7.bin.aux.xml': '',
'reflectance_terrain_7.hdr': '',
'nbar-metadata.yml': dedent(
'nbar_metadata.yaml': dedent(
"""
algorithm_information:
software_version: 1.0
Expand Down Expand Up @@ -420,7 +420,7 @@ def test_nbar_brdf_label(self):
def test_pqa_fill(self):
input_folder = write_files({
'pqa.tif': '',
'pq_metadata.yml': dedent(
'pq_metadata.yaml': dedent(
"""
algorithm_information:
software_version: 1.0
Expand Down

0 comments on commit 670dc79

Please sign in to comment.