From e2c3b1cb72b796fe12f94af64baa2e64cbe5db0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?= 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