[tests/disk] Fix copy/paste error - duplicate method name

This commit is contained in:
Tobi-wan Kenobi 2016-12-11 08:45:43 +01:00
parent 23d7d53fca
commit c2c70da4ef

View file

@ -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)