[tests/cpu] Fix expectation for CPU module output
This commit is contained in:
parent
d189b3a335
commit
c7e2f39132
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class TestCPUModule(unittest.TestCase):
|
|||
self.psutil.cpu_percent.return_value = 21.0
|
||||
self.module.update_all()
|
||||
for widget in self.module.widgets():
|
||||
self.assertEquals(len(widget.full_text()), len("100.00%"))
|
||||
self.assertEquals(len(widget.full_text()), len("99.0%"))
|
||||
|
||||
def test_leftclick(self):
|
||||
mocks.mouseEvent(stdin=self.stdin, button=LEFT_MOUSE, inp=self.input, module=self.module)
|
||||
|
|
Loading…
Reference in a new issue