def METHOD_NAME(self, session, user):
    rows = session.query(hades.dhcphost.table).all()
    assert len(rows) == 1
    row = rows[0]
    host = user.hosts[0]
    assert row == (host.interfaces[0].mac, str(host.ips[0].address), host.name)