File prevent-import-errors-when-running-test_btrfs-unit-t.patch of Package salt

From bc20f38d0fa492af70321fef7fe2530937dfc86a 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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/unit/states/test_btrfs.py b/tests/unit/states/test_btrfs.py
index c722630aef..c54579e681 100644
--- a/tests/unit/states/test_btrfs.py
+++ b/tests/unit/states/test_btrfs.py
@@ -37,6 +37,7 @@ from tests.support.mock import (
 
 from salt.exceptions import CommandExecutionError
 import salt.states.btrfs as btrfs
+import salt.utils.platform
 
 import pytest
 
-- 
2.28.0
openSUSE Build Service is sponsored by