def test_cmd_args(fake_proc):
 cmd = 'does_not_exist'
 args = ['arg1', 'arg2']
 fake_proc.start(cmd, args)
 assert ((fake_proc.cmd, fake_proc.args) == (cmd, args))

def test_cmd_args ( fake_proc ) : cmd = 'does_not_exist' args = [ 'arg1' , 'arg2' ] fake_proc . start ( cmd , args ) assert ( ( fake_proc . cmd , fake_proc . args ) == ( cmd , args ) )
test the cmd and args attributes .