Skip to content

Commit

Permalink
fix for test-fw-update
Browse files Browse the repository at this point in the history
  • Loading branch information
AviaAv committed Jan 18, 2024
1 parent 3e3344c commit 2675036
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions unit-tests/test-fw-update.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@
sys.exit(0)
# Following will throw if no acroname module is found
from rspy import device_hub
try:
devices.hub.discover()
except device_hub.NoneFoundError as e:
log.f( e )

if device_hub.create() is None:
log.f("No hub found")
# Remove acroname -- we're likely running inside run-unit-tests in which case the
# acroname hub is likely already connected-to from there and we'll get an error
# thrown ('failed to connect to acroname (result=11)'). We do not need it -- just
# needed to verify it is available above...
devices.acroname = None
devices.hub = None


def send_hardware_monitor_command(device, command):
Expand Down

0 comments on commit 2675036

Please sign in to comment.