def test_extra_vars_at_runtime_YAML_JT(self):
        with client.test_mode as t:
            # test with YAML and comments
            jt_vars_registration(t, 'spam: eggs\n# comment')
            with mock.patch.object(click, 'edit') as edit:
                edit.return_value = '# Nothing.\nfoo: bar'
                self.res.launch(1, no_input=False)
                self.assertIn('# comment', edit.mock_calls[0][1][0])
                self.assertDictContainsSubset(
                    {"spam": "eggs"},
                    yaml.load(edit.mock_calls[0][1][0])
                )
Verify the account category page.
dataset/ETHPy150Open ansible/tower-cli/tests/test_resources_job.py/LaunchTests.test_extra_vars_at_runtime_YAML_JT--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/questions/tests/test_marketplace.py/MarketplaceAaqTests.test_account_category