Skip to content

Commit 4209e88

Browse files
committed
fix unit test case
1 parent bf38ad5 commit 4209e88

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/test_store.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ def test_store_for_cmems_credentials(self):
194194
with self.assertRaises(Exception) as e:
195195
CmemsDataStore(**params)
196196
self.assertEqual(
197-
"CmemsDataStore needs cmems credentials to "
198-
"be provided either as "
199-
"environment variables CMEMS_USERNAME and "
200-
"CMEMS_PASSWORD, or to be "
201-
"provided as store params cmems_username and "
202-
"cmems_password",
197+
"CmemsDataStore needs cmems credentials to "
198+
"be provided either as "
199+
"environment variables COPERNICUSMARINE_SERVICE_USERNAME and "
200+
"COPERNICUSMARINE_SERVICE_PASSWORD, or to be "
201+
"provided as store params cmems_username and "
202+
"cmems_password",
203203
f"{e.exception}",
204204
)

0 commit comments

Comments
 (0)