[tests/battery] Add unused variables

This commit is contained in:
Tobi-wan Kenobi 2017-03-05 11:24:11 +01:00
parent ce22e9dc75
commit 463850eddc

View file

@ -32,7 +32,6 @@ class TestBatteryModule(unittest.TestCase):
self.engine = mock.Mock() self.engine = mock.Mock()
self.config = Config() self.config = Config()
self.module = Module(engine=self.engine, config={"config":self.config}) self.module = Module(engine=self.engine, config={"config":self.config})
self.popen = mocks.MockPopen()
self.config.set("battery.critical", "20") self.config.set("battery.critical", "20")
self.config.set("battery.warning", "25") self.config.set("battery.warning", "25")
@ -49,7 +48,6 @@ class TestBatteryModule(unittest.TestCase):
self._stdout.stop() self._stdout.stop()
self._exists.stop() self._exists.stop()
self._open.stop() self._open.stop()
self.popen.cleanup()
def test_format(self): def test_format(self):
for widget in self.module.widgets(): for widget in self.module.widgets():