karenc / db-migrator

GNU Affero General Public License v3.0
4 stars 5 forks source link

Set dbmigrator settings before running utils tests #54

Closed karenc closed 6 years ago

karenc commented 6 years ago

dbmigrators settings are usually set when running the command line interface, but since the utils tests don't use the command line interface, dbmigrator.utils.set_settings need to be called explicitly so for example, db connection string is set up.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.002%) to 97.635% when pulling 52c82e2ef09b0633d00d4be71e59e60d23e92565 on fix-tests into 1becb2b5ee92365b0884e59abdc5350e8bfb0c71 on master.