[tests/disk] Fix copy/paste error - duplicate method name
This commit is contained in:
parent
23d7d53fca
commit
c2c70da4ef
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class TestDiskModule(unittest.TestCase):
|
||||||
assertStateContains(self, self.module, "warning")
|
assertStateContains(self, self.module, "warning")
|
||||||
|
|
||||||
@mock.patch("os.statvfs")
|
@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.critical", "80")
|
||||||
self.config.set("disk.warning", "70")
|
self.config.set("disk.warning", "70")
|
||||||
mock_stat.return_value = MockVFS(85.0)
|
mock_stat.return_value = MockVFS(85.0)
|
||||||
|
|
Loading…
Reference in a new issue