ansible/test/units
Marc Abramowitz 372a29744b Make AnsibleError a plain ol' exception
Python's Exception constructor already takes a `message` as a parameter,
which you can then get at by doing str(e) (e.message was deprecated).

The reason I bothered to make this change was because I was debugging
with pdb and I noticed that AnsibleErrors don't give useful information
in pdb (probably because they don't have a __repr__ method that prints
the `msg` attribute).

    (Pdb) c
    > /Users/marca/dev/git-repos/ansible/lib/ansible/runner/__init__.py(599)_executor()
    -> msg = str(ae)
    (Pdb) ae
    AnsibleError()
2015-01-29 10:36:06 -08:00
..
inventory_test_data
module_tests Docker test does not require the mock module 2014-11-14 08:59:36 -08:00
vault_test_data Make VaultEditor Tests compatible with FIPS mode 2014-11-12 12:05:25 -08:00
ansible.cfg Rename tests to test, use old directory name. 2014-02-20 19:11:15 -05:00
README.md
TestConstants.py
TestFilters.py Add filter to turn a string into a UUID 2015-01-21 08:07:17 +08:00
TestInventory.py
TestModules.py
TestModuleUtilsBasic.py typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 22:23:35 +00:00
TestModuleUtilsDatabase.py Exception message changes 2014-11-25 02:36:38 -08:00
TestPlayVarsFiles.py Split out various vars-related things to avoid merging too early 2014-11-17 15:31:55 -06:00
TestSynchronize.py
TestUtils.py Make AnsibleError a plain ol' exception 2015-01-29 10:36:06 -08:00
TestUtilsStringFunctions.py
TestVault.py
TestVaultEditor.py Make VaultEditor Tests compatible with FIPS mode 2014-11-12 12:05:25 -08:00

Unit tests

Tests at code level. Should be concise and to the point, and organized by subject.