Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/common/plugins/loganalyzer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def loganalyzer(duthost, request):

yield loganalyzer
# Skip LogAnalyzer if case is skipped
if request.node.rep_call.skipped:
if "rep_call" in request.node.__dict__ and request.node.rep_call.skipped:
return
loganalyzer.analyze(marker)
2 changes: 1 addition & 1 deletion tests/drop_packets/drop_packets.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def fanouthost(request, duthost, localhost):
for file_name in os.listdir(os.path.join(os.path.dirname(__file__), "fanout")):
# Import fanout configuration handler based on vendor name
if "mellanox" in file_name:
module = importlib.import_module("fanout.{0}.{0}_fanout".format(file_name.strip(".py")))
module = importlib.import_module("..fanout.{0}.{0}_fanout".format(file_name.strip(".py")), __name__)
fanout = module.FanoutHandler(duthost, localhost)
break

Expand Down