The motivation behind this is folks are running unit tests with different katello configurations (and also in development mode). Everything creates many environments and leads to errors.

I'd like to see our unit tests really independant. The first step towards this would be remove our configuration when running in unit tests mode (we could detect this from RAILS_ENV but then we need to set it to "test" when running tests from development mode, that's what we often do).

By the way, which testing database configuration is used when katello.yml is empty?