Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test: nansat.tests.test_exporter:ExporterTest.test_history_metadata #495

Open
mortenwh opened this issue Dec 16, 2020 · 0 comments

Comments

@mortenwh
Copy link
Contributor

I ran the nansat tests locally, and nansat.tests.test_exporter:ExporterTest.test_history_metadata fails:

~/python/nansat (master)$ nosetests nansat.tests.test_exporter:ExporterTest.test_history_metadata
Warning 1: creating geographic file without lon/lat values!
Warning 1: creating geographic file without lon/lat values!
Warning 1: creating geographic file without lon/lat values!
Warning 1: creating geographic file without lon/lat values!
F
======================================================================
FAIL: test_history_metadata (nansat.tests.test_exporter.ExporterTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/morten/python/nansat/nansat/tests/test_exporter.py", line 77, in test_history_metadata
    self.assertEqual(history, hh)
AssertionError: 'Wed Dec 16 10:17:56 2020: GDAL CreateCopy[36 chars].. )' != '2020-12-16T10:17:56.677775+00:00'
- Wed Dec 16 10:17:56 2020: GDAL CreateCopy( /home/morten/tmp/tmpf_zder3o.nc, ... )
+ 2020-12-16T10:17:56.677775+00:00


----------------------------------------------------------------------
Ran 1 test in 0.113s

It seems we need to update the format of the string in line 72 of nansat/tests/test_exporter.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant