From 11e1ec3f5aaa2489b2e0b2f9f69f6a13c6aaa7ff Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 8 Nov 2022 13:50:03 +0300 Subject: Tests: Generalise testing 'CREATE TABLE' migrations * gn3/settings.py: Omit trailing slash * tests/unit/auth/test_create_table_migrations.py: Generalise testing migrations that create tables. * tests/unit/auth/test_create_user_credentials_table.py: delete * tests/unit/auth/test_migration_create_users_table.py: delete --- gn3/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3') diff --git a/gn3/settings.py b/gn3/settings.py index 062c1e6..5fec562 100644 --- a/gn3/settings.py +++ b/gn3/settings.py @@ -64,6 +64,6 @@ ROUND_TO = 10 MULTIPROCESSOR_PROCS = 6 # Number of processes to spawn -AUTH_MIGRATIONS = "migrations/auth/" +AUTH_MIGRATIONS = "migrations/auth" AUTH_DB = os.environ.get( "AUTH_DB", f"{os.environ.get('HOME')}/genenetwork/gn3_files/db/auth.db") -- cgit v1.2.3