Skip to content

Commit

Permalink
put parenthesis to get first unit
Browse files Browse the repository at this point in the history
  • Loading branch information
javierdelapuente committed Jun 27, 2024
1 parent 3009479 commit 67da5cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charm/tests/integration/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async def test_netbox_storage(
assert: The site is created and there is an extra object (the image)
in S3.
"""
unit_ip = await get_unit_ips(netbox_app)[0]
unit_ip = (await get_unit_ips(netbox_app))[0]
base_url = f"http://{unit_ip}:8000"
token = await get_new_admin_token(netbox_app, base_url)

Expand Down Expand Up @@ -142,7 +142,7 @@ async def test_netbox_check_cronjobs(
assert: The cron task syncdatasource should update the status of the datasource
to completed.
"""
unit_ip = await get_unit_ips(netbox_app)[0]
unit_ip = (await get_unit_ips(netbox_app))[0]
base_url = f"http://{unit_ip}:8000"
token = await get_new_admin_token(netbox_app, base_url)
headers = {
Expand Down

0 comments on commit 67da5cf

Please sign in to comment.