Commit 36bd19c5 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update the tests.

parent c5ebceae
......@@ -77,7 +77,7 @@ def test_my_authors(recordfix):
def test_paper_editor(record, recordfix):
assert record.paper_editor() == "J. Instrum."
assert recordfix.paper_editor() == "J Instrum"
assert recordfix.paper_editor() == "J. Instrum."
def test_submitted(record, recordfix):
......
......@@ -25,8 +25,7 @@ import pytest
from harvest_tools import (CheckAndFix,
CheckException,
format_author_fr,
ToolException)
format_author_fr)
from invenio_tools import load_record
......@@ -59,7 +58,7 @@ def test_authors(record, recordfix):
def test_collaboration_exception(recordfix):
svc = CheckAndFix()
with pytest.raises(ToolException):
with pytest.raises(CheckException):
svc.collaboration(recordfix)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment