fix(tests): replace short playlist, add new pop genre id

This commit is contained in:
ThetaDev 2023-08-04 01:14:36 +02:00
parent 57086cab9a
commit b752b6ea9b
3 changed files with 33 additions and 15 deletions

View file

@ -7,14 +7,6 @@ unittest:
testyt:
cargo test --features=rss --test youtube
testyt10:
#!/usr/bin/env bash
set -e
for i in {1..10}; do \
echo "---TEST RUN $i---"; \
cargo test --features=rss --test youtube; \
done
testintl:
#!/usr/bin/env bash
LANGUAGES=(
@ -47,4 +39,4 @@ testfiles:
report2yaml:
mkdir -p rustypipe_reports/conv
for f in rustypipe_reports/*.json; do yq '.http_request.resp_body' $f | yq -o json -P > rustypipe_reports/conv/`basename $f .json`_body.json; yq e -Pi $f; mv $f rustypipe_reports/conv/`basename $f .json`.yaml; done;
for f in rustypipe_reports/*.json; do yq '.http_request.resp_body' $f | yq -o json -P > rustypipe_reports/conv/`basename $f .json`_body.json; yq e -Pi "del(.http_request.resp_body)" $f; mv $f rustypipe_reports/conv/`basename $f .json`.yaml; done;