pep8 format for tests/test_cli
This commit is contained in:
parent
63ecac12eb
commit
75c6d2d28b
4 changed files with 17 additions and 9 deletions
|
|
@ -50,7 +50,8 @@ class TestAddHost(unittest.TestCase):
|
|||
|
||||
@mock.patch('sys.stdout', new_callable=stringio.StringIO)
|
||||
@mock.patch('koji_cli.activate_session')
|
||||
def test_handle_add_host_no_krb_principal(self, activate_session_mock, stdout):
|
||||
def test_handle_add_host_no_krb_principal(
|
||||
self, activate_session_mock, stdout):
|
||||
host = 'host'
|
||||
host_id = 1
|
||||
arches = ['arch1', 'arch2']
|
||||
|
|
@ -161,7 +162,5 @@ class TestAddHost(unittest.TestCase):
|
|||
session.addHost.assert_called_once_with(host, arches, **kwargs)
|
||||
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue