Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:Uyuni:Master:Ubuntu1804-Uyuni-Client-Tools
venv-salt-minion
prevent-import-errors-when-running-test_btrfs-u...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File prevent-import-errors-when-running-test_btrfs-unit-t.patch of Package venv-salt-minion
From a3869f8e70bc8b03c49602f2ac58b0551f462cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?= <psuarezhernandez@suse.com> Date: Wed, 16 Sep 2020 12:40:47 +0100 Subject: [PATCH] Prevent import errors when running test_btrfs unit tests --- tests/unit/states/test_btrfs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/states/test_btrfs.py b/tests/unit/states/test_btrfs.py index dceb971aa1..7bf91598dd 100644 --- a/tests/unit/states/test_btrfs.py +++ b/tests/unit/states/test_btrfs.py @@ -26,9 +26,10 @@ """ import pytest import salt.states.btrfs as btrfs +import salt.utils.platform from salt.exceptions import CommandExecutionError from tests.support.mixins import LoaderModuleMockMixin -from tests.support.mock import NO_MOCK, NO_MOCK_REASON, MagicMock, patch +from tests.support.mock import MagicMock, patch from tests.support.unit import TestCase, skipIf -- 2.29.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor