Skip to content

Commit 0c41e27

Browse files
committed
Fix integration tests
1 parent 13bf2e8 commit 0c41e27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

end_to_end_tests/test_end_to_end.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def test_generate_dir_already_exists():
266266

267267

268268
def test_update_integration_tests():
269-
url = "https://raw.githubusercontent.com/openapi-generators/openapi-test-server/main/openapi.json"
269+
url = "https://raw.githubusercontent.com/openapi-generators/openapi-test-server/main/openapi.yaml"
270270
source_path = Path(__file__).parent.parent / "integration-tests"
271271
temp_dir = Path.cwd() / "test_update_integration_tests"
272272
shutil.rmtree(temp_dir, ignore_errors=True)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ composite = ["test --cov openapi_python_client tests --cov-report=term-missing"]
129129

130130
[tool.pdm.scripts.regen_integration]
131131
shell = """
132-
openapi-python-client generate --overwrite --url https://raw.githubusercontent.com/openapi-generators/openapi-test-server/main/openapi.json --config integration-tests/config.yaml --meta pdm --output-path integration-tests \
132+
openapi-python-client generate --overwrite --url https://raw.githubusercontent.com/openapi-generators/openapi-test-server/main/openapi.yaml --config integration-tests/config.yaml --meta pdm --output-path integration-tests \
133133
"""
134134

135135
[build-system]

0 commit comments

Comments
 (0)