Skip to content

Commit

Permalink
Fix sanity-check failure due to changed directors.csv
Browse files Browse the repository at this point in the history
Use a test-specific (shortened) file.
  • Loading branch information
booxter committed Dec 6, 2024
1 parent d38b5e9 commit f5669f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/sanity-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ StringContains() {
return 1
}

DIRECTORS_FILE=directors.csv

git worktree add ../sanity-check-env
trap "git worktree remove ../sanity-check-env" EXIT

Expand All @@ -22,7 +20,7 @@ cd ../sanity-check-env
alembic upgrade head

# populate database with some data
populate-directors -d ${DIRECTORS_FILE} -n 2
populate-directors -d tests/files/directors.csv
update-directors
update-films
update-offers
Expand Down
3 changes: 3 additions & 0 deletions tests/files/directors.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"Name","Letterboxd URI"
"Maryam Touzani","https://letterboxd.com/director/maryam-touzani/"
"Štefan Uher","https://letterboxd.com/director/stefan-uher/"

0 comments on commit f5669f6

Please sign in to comment.