aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/auth
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-09-08 02:25:00 +0300
committerFrederick Muriuki Muriithi2023-09-26 03:44:26 +0300
commitff18444c08b0b4ae8478274d1fd793112971484e (patch)
treeb9963259df8e14111ff70744d74b44447d272d9b /tests/unit/auth
parent9d519e79f65ff30286e3f763614e6fb632e2c028 (diff)
downloadgn-auth-ff18444c08b0b4ae8478274d1fd793112971484e.tar.gz
Resources refactor: Add `resource_ownership` table
New table to link resources to groups, where relevant.
Diffstat (limited to 'tests/unit/auth')
-rw-r--r--tests/unit/auth/test_migrations_create_tables.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/auth/test_migrations_create_tables.py b/tests/unit/auth/test_migrations_create_tables.py
index bd0164e..eb0e161 100644
--- a/tests/unit/auth/test_migrations_create_tables.py
+++ b/tests/unit/auth/test_migrations_create_tables.py
@@ -39,7 +39,9 @@ migrations_and_tables = (
("20230404_02_la33P-create-genotype-resources-table.py",
"genotype_resources"),
("20230410_01_8mwaf-create-linked-mrna-data-table.py", "linked_mrna_data"),
- ("20230410_02_WZqSf-create-mrna-resources-table.py", "mrna_resources"))
+ ("20230410_02_WZqSf-create-mrna-resources-table.py", "mrna_resources"),
+ ("20230907_01_pjnxz-refactor-add-resource-ownership-table.py",
+ "resource_ownership"))
@pytest.mark.unit_test
@pytest.mark.parametrize("migration_file,the_table", migrations_and_tables)