)]}'
{"tests/pre-test-tasks.yml":[{"author":{"_account_id":12892,"name":"Nolan Brubaker","email":"nolan.brubaker@rackspace.com","username":"nrb"},"change_message_id":"5a8875eb0fa1aa30d757798e1c16f9da9526b6b4","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"# Run pre-test tasks."},{"line_number":17,"context_line":"# Template swift_rings.py so we can run tests against it"},{"line_number":18,"context_line":"- name: Pre-tasks for openstack-ansible-os_swift tests"},{"line_number":19,"context_line":"  hosts: localhost"},{"line_number":20,"context_line":"  pre_tasks:"},{"line_number":21,"context_line":"    - name: Template swift_rings.py"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3a98d1f4_6b0ff136","line":18,"updated":"2016-10-03 18:10:09.000000000","message":"This fails on my local machine because some of the Ansible roles are already populated in /etc/ansible/roles. I like keeping this similar to the other tests, but being able to test the actual python code locally is nice, too.","commit_id":"b450a68ce87c856da56276bacd749615afd040d2"},{"author":{"_account_id":12892,"name":"Nolan Brubaker","email":"nolan.brubaker@rackspace.com","username":"nrb"},"change_message_id":"5a8875eb0fa1aa30d757798e1c16f9da9526b6b4","unresolved":false,"context_lines":[{"line_number":19,"context_line":"  hosts: localhost"},{"line_number":20,"context_line":"  pre_tasks:"},{"line_number":21,"context_line":"    - name: Template swift_rings.py"},{"line_number":22,"context_line":"      template:"},{"line_number":23,"context_line":"        src: \"{{ toxinidir }}/templates/swift_rings.py.j2\""},{"line_number":24,"context_line":"        dest: \"{{ toxinidir }}/tests/swift_rings.py\""},{"line_number":25,"context_line":"        mode: \"0700\""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3a98d1f4_6e3d3fc3","line":22,"updated":"2016-10-03 18:10:09.000000000","message":"Given the only thing that\u0027s being templated is technically a comment (#!/{{ swift_bin }}/python }}, we actually don\u0027t need to run the file through templating - the imp module in Python can import files that don\u0027t follow python convention.","commit_id":"b450a68ce87c856da56276bacd749615afd040d2"}]}
