Moved from xdist to normal pytest. Removed test folder from openapi_client
Some checks failed
checks-impure / test (pull_request) Successful in 32s
checks / test (pull_request) Failing after 3m9s

This commit is contained in:
2024-01-08 20:37:17 +01:00
parent e22e954a4a
commit acb84b8f0b
20 changed files with 6 additions and 889 deletions

View File

@@ -80,6 +80,8 @@ def main() -> None:
replacement = "from typing import Any, List, Optional, Dict"
replace_in_directory(directory_path=src_client, pattern=pattern, replacement=replacement)
src_clients_tests = src_client / "test"
shutil.rmtree(src_clients_tests)
dst_client: Path = args.out / "openapi_client"
shutil.rmtree(dst_client, ignore_errors=True)
shutil.copytree(src_client, dst_client)