test: autouse app_context in unit tests (#20911)

This commit is contained in:
Jesse Yang
2022-08-02 15:42:50 -07:00
committed by GitHub
parent c06d5eb70c
commit 7e836e9b04
37 changed files with 142 additions and 212 deletions

View File

@@ -1445,7 +1445,7 @@ def test_add_table_name(rls: str, table: str, expected: str) -> None:
assert str(condition) == expected
def test_get_rls_for_table(mocker: MockerFixture, app_context: None) -> None:
def test_get_rls_for_table(mocker: MockerFixture) -> None:
"""
Tests for ``get_rls_for_table``.
"""