1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-02 20:15:24 +02:00

feat: Add Households to Mealie (#3970)

This commit is contained in:
Michael Genson 2024-08-22 10:14:32 -05:00 committed by GitHub
parent 0c29cef17d
commit eb170cc7e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
315 changed files with 6975 additions and 3577 deletions

View file

@ -23,7 +23,7 @@ all_cases = [
def test_multitenant_cases_get_all(
api_client: TestClient,
multitenants: MultiTenant,
database: AllRepositories,
unfiltered_database: AllRepositories,
test_case_type: type[ABCMultiTenantTestCase],
):
"""
@ -34,7 +34,7 @@ def test_multitenant_cases_get_all(
user1 = multitenants.user_one
user2 = multitenants.user_two
test_case = test_case_type(database, api_client)
test_case = test_case_type(unfiltered_database, api_client)
with test_case:
expected_ids = test_case.seed_action(user1.group_id)
@ -60,7 +60,7 @@ def test_multitenant_cases_get_all(
def test_multitenant_cases_same_named_resources(
api_client: TestClient,
multitenants: MultiTenant,
database: AllRepositories,
unfiltered_database: AllRepositories,
test_case_type: type[ABCMultiTenantTestCase],
):
"""
@ -71,7 +71,7 @@ def test_multitenant_cases_same_named_resources(
user1 = multitenants.user_one
user2 = multitenants.user_two
test_case = test_case_type(database, api_client)
test_case = test_case_type(unfiltered_database, api_client)
with test_case:
expected_ids, expected_ids2 = test_case.seed_multi(user1.group_id, user2.group_id)