I want to set up test database for Flask-Testing class, so tests do not affect my main database. I need test database being created each time I run my unittests testcase How can I do this?
I use Flask-Testing, Flask-SQLAlchemy, psycopg2
Privilegies to create database properly granted. So now I just have to figure out how perform this.
Please advice how can I do this?