diff --git a/requirements.txt b/requirements.txt index 343cfc4..9f1a89c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -Flask==3.1.2 -pyxform==4.2.0 -gunicorn==23.0.0 +Flask==3.1.3 +pyxform==4.3.0 +gunicorn==25.1.0 diff --git a/test.sh b/test.sh index 64ac310..4804a54 100755 --- a/test.sh +++ b/test.sh @@ -27,7 +27,7 @@ if [ "$test_2_actual" != "$test_2_expected" ]; then fi test_3_actual=$(curl --silent --request POST --header "X-XlsForm-FormId-Fallback: pyxform-warning" --data-binary @test/pyxform-warning.xlsx http://127.0.0.1:5001/api/v1/convert) -test_3_expected='{"error":null,"itemsets":null,"result":"pyxform-warning","status":200,"warnings":["[row : 3] Group has no label: {'\''name'\'': '\''group'\'', '\''type'\'': '\''begin group'\''}"]}' +test_3_expected='{"error":null,"itemsets":null,"result":"pyxform-warning","status":200,"warnings":["[row : 2] Repeat has no label: {'\''name'\'': '\''repeat'\'', '\''type'\'': '\''begin repeat'\''}"]}' if [ "$test_3_actual" != "$test_3_expected" ]; then echo "test 3 failed: form that converts and also returns pyxform warnings" test_failed="true" @@ -79,4 +79,4 @@ if [ "$test_failed" == "true" ] ; then exit 1 else echo "tests passed" -fi \ No newline at end of file +fi \ No newline at end of file diff --git a/test/pyxform-warning.xlsx b/test/pyxform-warning.xlsx index 892b8e1..680c716 100644 Binary files a/test/pyxform-warning.xlsx and b/test/pyxform-warning.xlsx differ