From 01e05f21ada5a21c659e4ae2462b13d7d50c6b80 Mon Sep 17 00:00:00 2001 From: Marek Skrobacki Date: Wed, 20 Nov 2024 12:44:41 +0000 Subject: [PATCH] flavor_matcher: add missing imports --- python/understack-flavor-matcher/tests/test_flavor_spec.py | 4 +++- .../understack_workflows/flavor_detect.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/python/understack-flavor-matcher/tests/test_flavor_spec.py b/python/understack-flavor-matcher/tests/test_flavor_spec.py index a88931070..4c353c112 100644 --- a/python/understack-flavor-matcher/tests/test_flavor_spec.py +++ b/python/understack-flavor-matcher/tests/test_flavor_spec.py @@ -1,4 +1,6 @@ -from unittest.mock import mock_open, patch +import os +from unittest.mock import mock_open +from unittest.mock import patch import pytest from flavor_matcher.flavor_spec import FlavorSpec diff --git a/python/understack-workflows/understack_workflows/flavor_detect.py b/python/understack-workflows/understack_workflows/flavor_detect.py index 4a7215848..f779c9f40 100644 --- a/python/understack-workflows/understack_workflows/flavor_detect.py +++ b/python/understack-workflows/understack_workflows/flavor_detect.py @@ -2,6 +2,7 @@ from flavor_matcher.matcher import FlavorSpec from flavor_matcher.matcher import Matcher +from understack_workflows import bmc_disk from understack_workflows.bmc import Bmc from understack_workflows.bmc_chassis_info import ChassisInfo from understack_workflows.helpers import setup_logger