Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit dcef58ba authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update base/test_07_RecordInst.

parent 6a4d8127
......@@ -14,36 +14,36 @@ def record():
return load_record("inspirehep.net", 902989)
def test_exception_host():
def test_exception_host_ins_07001():
record = load_record("cds.cern.ch", 1951625)
with pytest.raises(RecordException):
RecordInst(record)
def test_exception_record():
def test_exception_record_ins_07002():
record = load_record("inspirehep.net", 1319638)
with pytest.raises(RecordException):
RecordInst(record)
def test_future_identifer(record):
def test_future_identifer_ins_07003(record):
assert record.future_identifier() == u'CPPM, Marseille'
def test_id(record):
def test_id_ins_07004(record):
assert record.id() == 902989
def test_identifier(record):
def test_identifier_ins_07005(record):
assert record.identifier() == u'Marseille, CPPM'
def test_name(record):
def test_name_ins_07006(record):
assert record.name() == \
u'Centre de Physique des Particules de Marseille (CPPM)'
def test_rex(record):
def test_rex_ins_07007(record):
assert record.rex() == \
r"Marseille, CPPM|CPPM, Marseille|" \
"Centre de Physique des Particules de Marseille (CPPM)"
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