diff options
author | Frederick Muriuki Muriithi | 2022-11-10 16:30:44 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-11-10 16:30:44 +0300 |
commit | 3bc52c3c6fb86f599f1f086fb62009a0af562f41 (patch) | |
tree | cd069192be05fd0e6bf7e3d85f774a9094fe092f /tests | |
parent | 5ee7eee279cc4508b3bbdc737e75969b4a2dfb20 (diff) | |
download | genenetwork3-3bc52c3c6fb86f599f1f086fb62009a0af562f41.tar.gz |
Migrations: Add columns to 'privileges' table
* migrations/auth/20221110_08_23psB-add-privilege-category-and-privilege-description-columns-to-privileges-table.py:
new migration
* tests/unit/auth/test_migrations_add_remove_columns.py: test new migration
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/auth/test_migrations_add_remove_columns.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit/auth/test_migrations_add_remove_columns.py b/tests/unit/auth/test_migrations_add_remove_columns.py index b5df9d3..b43e1cf 100644 --- a/tests/unit/auth/test_migrations_add_remove_columns.py +++ b/tests/unit/auth/test_migrations_add_remove_columns.py @@ -13,7 +13,11 @@ query = "SELECT sql FROM sqlite_schema WHERE name=?" test_params = ( ("20221109_01_HbD5F-add-resource-meta-field-to-resource-categories-field.py", - "resource_categories", "resource_meta TEXT", True),) + "resource_categories", "resource_meta TEXT", True), + ("20221110_08_23psB-add-privilege-category-and-privilege-description-columns-to-privileges-table.py", + "privileges", "privilege_category TEXT", True), + ("20221110_08_23psB-add-privilege-category-and-privilege-description-columns-to-privileges-table.py", + "privileges", "privilege_description TEXT", True)) def found(haystack: str, needle: str) -> bool: return any([ |