Skip to content

Commit 89a80f4

Browse files
committed
:chore: Reformatting
1 parent 5fceefe commit 89a80f4

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

tests/regression/test_issue_7.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import pytest
22
from click.testing import CliRunner
33

4+
from openapi_python_generator.__main__ import main
45
from openapi_python_generator.common import HTTPLibrary
5-
66
from tests.conftest import test_data_folder
77
from tests.conftest import test_result_path
8-
from openapi_python_generator.__main__ import main
98

109

1110
@pytest.fixture
@@ -21,14 +20,18 @@ def runner() -> CliRunner:
2120
HTTPLibrary.requests,
2221
],
2322
)
24-
2523
def test_issue_7(runner: CliRunner, model_data_with_cleanup, library) -> None:
2624
"""
2725
https://github.com/MarcoMuellner/openapi-python-generator/issues/7
2826
"""
2927
result = runner.invoke(
3028
main,
31-
[str(test_data_folder / "openapi_gitea_converted.json" ), str(test_result_path), "--library", library.value],
29+
[
30+
str(test_data_folder / "openapi_gitea_converted.json"),
31+
str(test_result_path),
32+
"--library",
33+
library.value,
34+
],
3235
)
3336
assert result.exit_code == 0
3437
pass

tests/test_data/openapi_gitea_converted.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24855,4 +24855,4 @@
2485524855
}
2485624856
},
2485724857
"x-original-swagger-version" : "2.0"
24858-
}
24858+
}

0 commit comments

Comments
 (0)