Skip to content

Commit 4f7903b

Browse files
committed
tests: tested against wrong collection
1 parent f60bd25 commit 4f7903b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_dbmodel_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def test_get_collections():
3434
collections = [c["name"] for c in db.get_collections()]
3535
defaults = common.get_test_defaults()
3636
assert defaults["collection"] in collections
37-
# requires that the "dcoraid" user is in figshare-collection collection
38-
assert "figshare-collection" in collections
37+
# requires that the "dcoraid" user is in dcoraid-collection collection
38+
assert "dcoraid-collection" in collections
3939

4040

4141
def test_get_datasets_user_owned(tmp_path):

tests/test_dbmodel_api_cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def test_get_collections(tmp_path):
3333
collections = [c["name"] for c in db.get_collections()]
3434
defaults = common.get_test_defaults()
3535
assert defaults["collection"] in collections
36-
# requires that the "dcoraid" user is in figshare-collection collection
37-
assert "figshare-collection" in collections
36+
# requires that the "dcoraid" user is in dcoraid-collection collection
37+
assert "dcoraid-collection" in collections
3838

3939

4040
def test_get_datasets_user_owned(tmp_path):

0 commit comments

Comments
 (0)