Files
qdrant/tests/openapi/run_docker.sh
Kumar Shivendu 50fc2288d0 refactor: OpenAPI tests (#3606)
* test: Restructure OpenAPI tests

* fix: Remove cache dirs

* fix: Remove cache dirs from helpers

* fix: Path of openapi.json

* fix: Update path of openapi tests everywhere
2024-02-14 22:19:26 +05:45

18 lines
206 B
Bash
Executable File

#!/bin/sh
set -ex
clear_after_tests()
{
rm -rf .hypothesis .pytest_cache
}
# This script is supposed to be executed from the docker image
cd "$(dirname "$0")"
trap clear_after_tests EXIT
pytest -s