fix: Revert "feat: Update seeding to use new foods list format - round 2" (#5208)

This commit is contained in:
Hayden
2025-03-12 23:27:18 -05:00
committed by GitHub
parent 72668e2881
commit 974d848ee2
46 changed files with 28347 additions and 46702 deletions

View File

@@ -12,7 +12,7 @@ def test_seed_invalid_locale(api_client: TestClient, unique_user: TestUser):
def test_seed_foods(api_client: TestClient, unique_user: TestUser):
CREATED_FOODS = 2687
CREATED_FOODS = 214
database = unique_user.repos
# Check that the foods was created
@@ -44,7 +44,7 @@ def test_seed_units(api_client: TestClient, unique_user: TestUser):
def test_seed_labels(api_client: TestClient, unique_user: TestUser):
CREATED_LABELS = 32
CREATED_LABELS = 21
database = unique_user.repos
# Check that the foods was created

View File

@@ -99,7 +99,7 @@ def test_new_label_creates_list_labels_in_all_households(
def test_seed_label_creates_list_labels(api_client: TestClient, unique_user: TestUser):
CREATED_LABELS = 32
CREATED_LABELS = 21
database = unique_user.repos
# create a list with some labels