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

From ca8289b521c298e2c9e7ad235daf62e81e07ebd4 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 62808ed680..045d56c5b0 100644
--- a/tests/unit/modules/test_chroot.py
+++ b/tests/unit/modules/test_chroot.py
@@ -83,7 +83,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.28.0
openSUSE Build Service is sponsored by