2021-01-08 13:41:50 +01:00
|
|
|
From 3dc61b426cee5c40976ee25a0357fd07244a630b Mon Sep 17 00:00:00 2001
|
2020-10-14 17:29:00 +02:00
|
|
|
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
|
2021-01-08 13:41:50 +01:00
|
|
|
index 196e3ad27f..a0f3f8e6af 100644
|
2020-10-14 17:29:00 +02:00
|
|
|
--- a/tests/unit/modules/test_chroot.py
|
|
|
|
+++ b/tests/unit/modules/test_chroot.py
|
2021-01-08 13:41:50 +01:00
|
|
|
@@ -71,7 +71,6 @@ class ChrootTestCase(TestCase, LoaderModuleMockMixin):
|
|
|
|
self.assertTrue(chroot.create("/chroot"))
|
2020-10-14 17:29:00 +02:00
|
|
|
makedirs.assert_called()
|
|
|
|
|
|
|
|
- @patch("salt.modules.chroot.exist")
|
|
|
|
@patch("salt.utils.files.fopen")
|
|
|
|
def test_in_chroot(self, fopen):
|
|
|
|
"""
|
|
|
|
--
|
2021-01-08 13:41:50 +01:00
|
|
|
2.29.2
|
2020-10-14 17:29:00 +02:00
|
|
|
|
|
|
|
|