From f3295a7d6df0a64c3949fa2e940918cea94f99a1 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 14 Nov 2022 12:00:48 +0300 Subject: 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 --- tests/unit/auth/test_migrations_insert_data_into_empty_table.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/unit') 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( -- cgit v1.2.3