test: no empty tx started for invalid path/method

This commit is contained in:
steve-chavez
2022-07-15 22:23:33 -05:00
committed by Steve Chavez
parent 23e4c7fe6e
commit df49f482dc
3 changed files with 38 additions and 2 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ let
checkedShellScript
{
name = "postgrest-test-io";
docs = "Run the pytest-based IO tests.";
docs = "Run the pytest-based IO tests. Add -k to run tests that match a given expression.";
args = [ "ARG_LEFTOVERS([pytest arguments])" ];
inRootDir = true;
withEnv = postgrest.env;
@@ -151,7 +151,7 @@ let
HPCTIXFILE="$tmpdir"/io.tix \
${withTools.withPg} -f test/io/fixtures.sql ${cabal-install}/bin/cabal v2-exec ${devCabalOptions} -- \
${ioTestPython}/bin/pytest -v test/io
HPCTIXFILE="$tmpdir"/spec.tix \
${withTools.withPg} ${cabal-install}/bin/cabal v2-run ${devCabalOptions} test:spec