[tests] Add unit tests for load module
This commit is contained in:
parent
c7621caf78
commit
f9984ba386
2 changed files with 58 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Module(bumblebee.engine.Module):
|
|||
self._load = [0, 0, 0]
|
||||
try:
|
||||
self._cpus = multiprocessing.cpu_count()
|
||||
except multiprocessing.NotImplementedError as e:
|
||||
except NotImplementedError as e:
|
||||
self._cpus = 1
|
||||
engine.input.register_callback(self, button=bumblebee.input.LEFT_MOUSE,
|
||||
cmd="gnome-system-monitor")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue