Skip to content

Commit

Permalink
code formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wmelder committed Dec 20, 2023
1 parent 619662b commit f03bd95
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from util.base_util import relative_from_repo_root
from config import cfg


def get_active_profile(app):
def_profile = app.config["PROFILES"][0]
for p in app.config["PROFILES"]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def test_get_storage_record__ob_scene_payload(application_settings, i_ob_scene_p
try:
profile = application_settings.get("ACTIVE_PROFILE")
storage_base_url = application_settings.get("STORAGE_BASE_URL")
sdo_handler = globals()[profile["storage_handler"]](application_settings, profile)
sdo_handler = globals()[profile["storage_handler"]](
application_settings, profile
)
when(sdo_handler)._prepare_storage_uri(
storage_base_url, DUMMY_LEVEL, DUMMY_ID
).thenReturn(DUMMY_STORAGE_URL)
Expand Down Expand Up @@ -99,7 +101,9 @@ def test_get_storage_record__error_scene_payload(
try:
profile = application_settings.get("ACTIVE_PROFILE")
storage_base_url = application_settings.get("STORAGE_BASE_URL")
sdo_handler = globals()[profile["storage_handler"]](application_settings, profile)
sdo_handler = globals()[profile["storage_handler"]](
application_settings, profile
)
when(sdo_handler)._prepare_storage_uri(
storage_base_url, "scene", "2101702260627885424"
).thenReturn(DUMMY_STORAGE_URL)
Expand All @@ -123,7 +127,9 @@ def test_get_storage_record__no_storage_data(application_settings):
try:
profile = application_settings.get("ACTIVE_PROFILE")
storage_base_url = application_settings.get("STORAGE_BASE_URL")
sdo_handler = globals()[profile["storage_handler"]](application_settings, profile)
sdo_handler = globals()[profile["storage_handler"]](
application_settings, profile
)
when(sdo_handler)._prepare_storage_uri(
storage_base_url, "scene", "2101702260627885424"
).thenReturn(DUMMY_STORAGE_URL)
Expand Down

0 comments on commit f03bd95

Please sign in to comment.