can someone help me with this, travis is taking ProductionConfig, while it should be using TestingConfig. I tried setting APP_CONFIG to "config.TestingConfig", both in the repo settings and by committing it to the repo (travis.yml).
@shivamMg It is not taking ProductionConfig. ProductionConfig code is ran automatically when the config module is imported. This is how Python works.. All static code (like the static vars in the config classes) are executed when the module is imported. Since that assert in ProductionConfig is in line of execution, it is executed and thus fails.