Test of the dnf python api