Commit 8049f2f9 authored by Shane Snyder's avatar Shane Snyder
Browse files

Merge branch 'treddy_unsupported_record_warn_test' into 'master'

TST: add test for unsupported rec

See merge request !97
parents 8fc5cb2c caf1c297
......@@ -46,6 +46,19 @@ def test_load_records():
assert 1 == len(['records']['POSIX'])
def test_unsupported_record_load(caplog, unsupported_record):
# check for appropriate logger warning when attempting to
# load unsupported record
report = darshan.DarshanReport("tests/input/sample.darshan")
for record in caplog.records:
assert 'Currently unsupported' in record.message
assert unsupported_record in record.message
def test_internal_references():
Test if the reference ids match. This tests mainly serves to make
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