Skip to content

Commit ba3e0b1

Browse files
pont-usTonioF
authored andcommitted
Update test_versions to match current behaviour
xcube now puts its version number in xcube.__version__ and xcube.version rather than xcube.version.version. test_versions.py now accommodates this change.
1 parent 86928eb commit ba3e0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/util/test_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def test_it_contains_what_is_expected(self):
1919
self.assertIn('numpy', versions)
2020
self.assertIn('geopandas', versions)
2121
self.assertIn('xcube', versions)
22-
self.assertEqual(xcube_version.version, versions['xcube'])
22+
self.assertEqual(xcube_version, versions['xcube'])
2323

2424
def test_it_is_cached(self):
2525
versions = get_xcube_versions()

0 commit comments

Comments
 (0)