Because we have installed Testgres with the Vagrant user, now we can exit from the root user to perform Testgres uninstallation as follows:
root@devopsubuntu1804:/usr/local/src/testgres# exit
vagrant@devopsubuntu1804:~$ sudo -H pip3 uninstall -y testgres
Uninstalling testgres-1.8.3:
Successfully uninstalled testgres-1.8.3
As we have seen, Testgres is a serious test framework. It should be taken into consideration when testing in a real production environment. A disadvantage could be that it is hard to install in a Windows environment.