Skip to content

Commit

Permalink
fix pre-commit error.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhixzhu authored and sdszhang committed Dec 15, 2024
1 parent b4ad2d8 commit 0d0b617
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,8 @@ def nbrhosts(enhance_inventory, ansible_adhoc, tbinfo, creds, request):
"""
logger.info("Fixture nbrhosts started")
devices = {}
if (not tbinfo['vm_base'] and 'tgen' in tbinfo['topo']['name']) or 'ptf' in tbinfo['topo']['name'] or 'ixia' in tbinfo['topo']['name']:
if (not tbinfo['vm_base'] and 'tgen' in tbinfo['topo']['name']) or 'ptf' in tbinfo['topo']['name'] or \
'ixia' in tbinfo['topo']['name']:
logger.info("No VMs exist for this topology: {}".format(tbinfo['topo']['name']))
return devices

Expand Down

0 comments on commit 0d0b617

Please sign in to comment.