feat: Update food seeding logic to use new format, now with removed CrowdIn limits? (#5514)
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend Tests (push) Waiting to run
Docker Nightly Production / Build Package (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
Release Drafter / ✏️ Draft release (push) Waiting to run

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
This commit is contained in:
Cameronwyatt 2025-07-04 13:44:21 -04:00 committed by Hayden
commit e794c6b525
No known key found for this signature in database
GPG key ID: 17CF79474E257545
47 changed files with 46784 additions and 29051 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 = 214
CREATED_FOODS = 2687
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 = 21
CREATED_LABELS = 32
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 = 21
CREATED_LABELS = 32
database = unique_user.repos
# create a list with some labels