Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kwilcox committed Jun 7, 2017
1 parent 5f10a03 commit bf0aae5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_nco.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ def test_use_list_inputs(foo_nc, bar_nc):
def test_use_list_options(foo_nc):
nco = Nco(debug=True)
options = []
options.extend(['-a', 'units,time,o,c,days since 1999-01-01'])
options.extend(['-a', 'units,time,o,c,"days since 1999-01-01"'])
options.extend(['-a', 'long_name,time,o,c,time'])
options.extend(['-a', 'calendar,time,o,c,noleap'])
nco.ncrcat(input=foo_nc, output='out.nc', options=options)
nco.ncatted(input=foo_nc, output='out.nc', options=options)


@pytest.mark.usefixtures("foo_nc", "bar_nc")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_nco_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def test_file_conversion(foo3c, foo4c):
nco.ncks(input=foo4c, output='foo_3c.nc', options=['-3'])
nco.ncks(input=foo4c, output='foo_3c.nc', options=['--3'])
nco.ncks(input=foo3c, output='foo_364c.nc', options=['-6'])
nco.ncks(input=foo3c, output='foo_364c.nc', options=['--64'])
nco.ncks(input=foo3c, output='foo_364c.nc', options=['--64bit_offset'])
nco.ncks(input=foo3c, output='foo_4.nc', options=['-4'])
nco.ncks(input=foo3c, output='foo_4.nc', options=['--4'])
nco.ncks(input=foo3c, output='foo_4c.nc', options=['-7'])
Expand Down

0 comments on commit bf0aae5

Please sign in to comment.