def test_assert_well_formed_perfdata_entry_fails_for_wrong_entry(entry): with pytest.raises(AssertionError): assertions.assert_well_formed_perfdata_entry(entry)
def test_assert_well_formed_perfdata_entry_lives_for_correct_entry(entry): assertions.assert_well_formed_perfdata_entry(entry)