Commit Graph

7 Commits (987f7750ec147fd18fd65de1ebb673eb8d4636a0)

Author SHA1 Message Date
Toshio Kuratomi b3452de8a7 Hook up the general parsing unittests and get them passing 11 years ago
James Cammarata 0a8c91a812 Fixing up tests, removing some of the yaml error stuff from parsing
* moved old unittests for vault over to the new codebase
* reverted YAML error helpers and reverted the load() function
  in parsing/__init__.py, pending a rewrite of a new YAML loader
  class of some kind to encapsulate all of that
* fixed an error in in the module args parser regarding the shell/
  command argument parsing, where some additional arguments were
  being lost
11 years ago
Toshio Kuratomi a954220957 Migrate the v2/tests to use the ansible.compat module 11 years ago
James Cammarata b0069a338e Overhauls to v2 code
* using inspect module instead of iteritems(self.__class__.__dict__, due
  to the fact that the later does not include attributes from parent
  classes
* added tags/when attributes to Base() class for use by all subclasses
* removed value/callable code from Attribute, as they are not used
* started moving some limited code from utils to new places in v2 tree
  (vault, yaml-parsing related defs)
* re-added ability of Block.load() to create implicit blocks from tasks
* started overhaul of Role class and role-related code
11 years ago
Toshio Kuratomi acf4bc95a3 Give all v2 tests the python3 compat boilerplate 11 years ago
Toshio Kuratomi a707f5acfe Fix relative imports 11 years ago
Toshio Kuratomi cf5ce97275 Somehow, git mv only rm'd test/v2 and didn't add v2/test 11 years ago