Commit Graph

13 Commits (3504f1cad96f781c3ebf5bb8d50b6bed1df13d15)

Author SHA1 Message Date
Toshio Kuratomi 349ecf6efe Add a vault test to data_loader test and some additional yaml tests to parsing/yaml/test_loader 10 years ago
Toshio Kuratomi 2cddb093f5 Add AnsibleList for keeping track of line numbers in lists parsed from yaml 10 years ago
Toshio Kuratomi 69cf95bd0e Add __init__ to the yaml test dir 10 years ago
Toshio Kuratomi e697de6076 Move AnsibleBaseBaseYAMLObject's position_info into a property 10 years ago
Toshio Kuratomi 05f1bed12b Use the node's start_mark to determine line and column.
* Elminates a lot of logic in the AnsibleComposer class.
* Update tests with new column offsets.  The rule should now be
  consistently: Column is the start of the entry's value (so for
  strings, the first non-space after the entry beginning, for dicts, the
  first character of the first key)
10 years ago
Toshio Kuratomi b152275a36 Test line numbers and "fix" a bug in the scalar line counting 10 years ago
Toshio Kuratomi c41b917162 Add a yaml constructor for unicode strings:
* Changes AnsibleConstructor so that only unicode strings are returned
  (no str type)
* Tracks line, column numbers for strings
* Adds unittests for AnsibleLoader (generic for all the yaml parsing)
10 years ago
James Cammarata 62d79568be Creating playbook executor and dependent classes 10 years ago
James Cammarata 7cb489eca3 Adding a data parsing class for v2 10 years ago
Toshio Kuratomi a954220957 Migrate the v2/tests to use the ansible.compat module 10 years ago
Toshio Kuratomi acf4bc95a3 Give all v2 tests the python3 compat boilerplate 10 years ago
Toshio Kuratomi a707f5acfe Fix relative imports 10 years ago
Toshio Kuratomi cf5ce97275 Somehow, git mv only rm'd test/v2 and didn't add v2/test 10 years ago