diff options
author | Frederick Muriuki Muriithi | 2022-11-14 12:00:48 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-11-14 12:00:48 +0300 |
commit | f3295a7d6df0a64c3949fa2e940918cea94f99a1 (patch) | |
tree | 5df61aba35d23a513e9638915ef8beb67e7308eb /tests/unit/auth | |
parent | 0144bfbcec8250d495d17c9728c7fca6beffae72 (diff) | |
download | genenetwork3-f3295a7d6df0a64c3949fa2e940918cea94f99a1.tar.gz |
Migrations: Create the `group-leader` role and give it privileges
* migrations/auth/20221114_04_tLUzB-initialise-basic-roles.py: new migration
* tests/unit/auth/test_migrations_insert_data_into_empty_table.py: test new
migration
Diffstat (limited to 'tests/unit/auth')
-rw-r--r-- | tests/unit/auth/test_migrations_insert_data_into_empty_table.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/auth/test_migrations_insert_data_into_empty_table.py b/tests/unit/auth/test_migrations_insert_data_into_empty_table.py index c89884f..73d654a 100644 --- a/tests/unit/auth/test_migrations_insert_data_into_empty_table.py +++ b/tests/unit/auth/test_migrations_insert_data_into_empty_table.py @@ -10,7 +10,9 @@ from tests.unit.auth.conftest import ( apply_single_migration, rollback_single_migration, migrations_up_to) test_params = ( - ("20221113_01_7M0hv-enumerate-initial-privileges.py", "privileges", 19),) + ("20221113_01_7M0hv-enumerate-initial-privileges.py", "privileges", 19), + ("20221114_04_tLUzB-initialise-basic-roles.py", "roles", 1), + ("20221114_04_tLUzB-initialise-basic-roles.py", "role_privileges", 11)) @pytest.mark.unit_test @pytest.mark.parametrize( |