[modules] Re-add module nic

This commit is contained in:
Tobias Witek 2020-03-01 14:36:12 +01:00
parent 7420434358
commit 533b8ca0cc
8 changed files with 134 additions and 8 deletions

View file

@ -60,7 +60,7 @@ class i3(unittest.TestCase):
def test_padding(self):
self.i3.theme(self.paddedTheme)
result = self.i3.__pad(self.someModule, self.someModule.widgets()[0], 'abc')
result = self.i3.__pad(self.someModule, self.someModule.widget(), 'abc')
self.assertEqual(' abc ', result)
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4