Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tannermpeterson committed Jun 22, 2023
1 parent c4baed2 commit 3361471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/tests/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_validate_user_credentials__does_not_ping_cloud_api_if_customer_id_not_g

def test_get_current_software_version__Given_code_is_not_bundled__When_the_function_is_called__Then_it_returns_version_from_package_json():
path_to_package_json = os.path.join(
get_current_file_abs_directory(), os.pardir, os.pardir, "package.json"
get_current_file_abs_directory(), *([os.pardir] * 3), "electron", "package.json"
)
with open(path_to_package_json) as in_file:
parsed_json = json.load(in_file)
Expand Down

0 comments on commit 3361471

Please sign in to comment.