From c2c70da4eff42fe29e0cf9f26631a809186546b7 Mon Sep 17 00:00:00 2001 From: Tobi-wan Kenobi Date: Sun, 11 Dec 2016 08:45:43 +0100 Subject: [PATCH] [tests/disk] Fix copy/paste error - duplicate method name --- tests/modules/test_disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modules/test_disk.py b/tests/modules/test_disk.py index 77cf286..f8fee4f 100644 --- a/tests/modules/test_disk.py +++ b/tests/modules/test_disk.py @@ -47,7 +47,7 @@ class TestDiskModule(unittest.TestCase): assertStateContains(self, self.module, "warning") @mock.patch("os.statvfs") - def test_warning(self, mock_stat): + def test_critical(self, mock_stat): self.config.set("disk.critical", "80") self.config.set("disk.warning", "70") mock_stat.return_value = MockVFS(85.0)