@pytest.mark.filecopy('variables.yml', '__tmp__/variables.yml')
def test_variables_alongside_jinja(self, execute_task):
    task = execute_task('test_variables_alongside_jinja')
    assert (len(task.accepted) == 1)
    assert (task.accepted[0]['a_field'] == 'first bar then foo end')
@pytest.mark.filecopy('variables.yml', '__tmp__/variables.yml')
def test_variables_alongside_jinja(self, execute_task):
    task = execute_task('test_variables_alongside_jinja')
    assert (len(task.accepted) == 1)
    assert (task.accepted[0]['a_field'] == 'first bar then foo end')