def test_extra_vars_at_runtime_no_user_data(self):
        with client.test_mode as t:
            # No job template variables
            jt_vars_registration(t, '')
            initial = '\n'.join((
                '# Specify extra variables (if any) here as YAML.',
                '# Lines beginning with "#" denote comments.',
                '',
            ))
            with mock.patch.object(click, 'edit') as edit:
                edit.return_value = initial
                self.res.launch(1, no_input=False)
                self.assertEqual(t.requests[2].method, 'POST')
                self.assertEqual(t.requests[2].body, '{}')
.. todo::
dataset/ETHPy150Open ansible/tower-cli/tests/test_resources_job.py/LaunchTests.test_extra_vars_at_runtime_no_user_data--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/expr/stochastic_pool.py/stochastic_max_pool_bc01