[core] more black'ing
This commit is contained in:
parent
ef4d87af8e
commit
02a80840a1
3 changed files with 10 additions and 12 deletions
|
@ -17,6 +17,7 @@ class TestModule(core.module.Module):
|
|||
def get(self, widget):
|
||||
return self.text
|
||||
|
||||
|
||||
class config(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.module = TestModule()
|
||||
|
|
|
@ -148,14 +148,11 @@ class module(unittest.TestCase):
|
|||
|
||||
with unittest.mock.patch("core.input.util.cli") as cli:
|
||||
cli.execute.return_value = ""
|
||||
core.input.trigger({
|
||||
"button": core.input.LEFT_MOUSE,
|
||||
"instance": module.id,
|
||||
})
|
||||
|
||||
cli.execute.assert_called_once_with(
|
||||
cmd, wait=False, shell=True
|
||||
core.input.trigger(
|
||||
{"button": core.input.LEFT_MOUSE, "instance": module.id,}
|
||||
)
|
||||
|
||||
cli.execute.assert_called_once_with(cmd, wait=False, shell=True)
|
||||
|
||||
|
||||
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|
||||
|
|
Loading…
Reference in a new issue