def METHOD_NAME(self):
    """test `pbench-agent` section in config file"""
    expected_error_msg = "'pbench-agent': []"
    with pytest.raises(BadConfig) as exc:
        PbenchAgentConfig(self.config)
    assert expected_error_msg in str(exc)