Skip to content

Commit 5ecafc6

Browse files
committed
Fixing tests
1 parent 38c0d68 commit 5ecafc6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_forge.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,13 @@ def test_forge_match_dois():
320320
assert check_field(res1, "dc.identifier.identifier", "https://dx.doi.org/10.13011/M3B36G") == 0
321321

322322
# Multiple dois
323-
f.match_dois(["https://dx.doi.org/10.13011/M3B36G", "10.test/1"])
323+
f.match_dois(["https://dx.doi.org/10.13011/M3B36G", "10.18126/M23P9G"])
324324
res2 = f.search()
325325

326-
# res1 is a subset of res2
326+
# # res1 is ça subset of res2
327327
assert len(res2) > len(res1)
328328
assert all([r1 in res2 for r1 in res1])
329-
assert check_field(res2, "dc.identifier.identifier", "10.test/1") == 2
329+
assert check_field(res2, "dc.identifier.identifier", "10.18126/M23P9G") == 2
330330

331331
# No doi
332332
assert f.match_dois("") == f

0 commit comments

Comments
 (0)