bumblebee-status/tests/modules/test_cpu.py
Tobi-wan Kenobi aacc56a4e2 [modules/cpu] Add initial version of CPU utilization module
Re-enable the CPU utilization module as proof-of-concept for the new
core engine.

see #23
2016-12-04 17:45:42 +01:00

16 lines
400 B
Python

# pylint: disable=C0103,C0111
import unittest
from bumblebee.modules.cpu import Module
from tests.util import assertWidgetAttributes
class TestCPUModule(unittest.TestCase):
def setUp(self):
self.module = Module(None)
def test_widgets(self):
widget = self.module.widgets()
assertWidgetAttributes(self, widget)
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4