Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call Application object instead of the setup #58

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions src/fixtures/configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,12 @@


@pytest.fixture(scope="function")
def configurations(
config,
intellij_config,
vscode_config,
app_name,
analysis_data,
ide,
setup_intellij,
setup_vscode,
):
def configurations(config, intellij_config, vscode_config, app_name, analysis_data, ide):
# region construct configuration object and fill it from the data json

uuid = generate_uuid()

application = setup_intellij if ide == "intellij" else setup_vscode
application = Intellij() if ide == "intellij" else VisualStudioCode()
application_config = intellij_config if ide == "intellij" else vscode_config
html_file_location = f"{application_config['plugin_cache_path']}/{uuid}/index.html"
model_json_path = f"{application_config['plugin_cache_path']}/model.json"
Expand Down
Loading