File drop-wrong-mock-from-chroot-unit-test.patch of Package salt

From 3dc61b426cee5c40976ee25a0357fd07244a630b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?=
 <psuarezhernandez@suse.com>
Date: Tue, 13 Oct 2020 12:02:00 +0100
Subject: [PATCH] Drop wrong mock from chroot unit test

---
 tests/unit/modules/test_chroot.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/unit/modules/test_chroot.py b/tests/unit/modules/test_chroot.py
index 196e3ad27f..a0f3f8e6af 100644
--- a/tests/unit/modules/test_chroot.py
+++ b/tests/unit/modules/test_chroot.py
@@ -71,7 +71,6 @@ class ChrootTestCase(TestCase, LoaderModuleMockMixin):
         self.assertTrue(chroot.create("/chroot"))
         makedirs.assert_called()
 
-    @patch("salt.modules.chroot.exist")
     @patch("salt.utils.files.fopen")
     def test_in_chroot(self, fopen):
         """
-- 
2.29.2


openSUSE Build Service is sponsored by