ansible/test/units/mock
Toshio Kuratomi c8a8f546d4 A little unittest refactoring (#16704)
A little unittest refactoring

* Add a class decorator to generate tests when using a unittest.TestCase base class
* Add a TestCase subclass with setUp() and tearDown() that sets up
  module parameter parsing
* Move test_safe_eval to use the class decorator and ModuleTestCase base
  class
* Move testing of set_mode_if_different into its own file and separate
  some test methods out so we get better errors and more coverage in
  case of errors.
* Naming convention for test cases doesn't need to duplicate information
  that's already in the file path.
2016-07-14 09:22:54 -07:00
..
__init__.py Making the switch to v2 2015-05-03 21:47:26 -05:00
generator.py A little unittest refactoring (#16704) 2016-07-14 09:22:54 -07:00
loader.py Break apart a looped dependency to show a warning when parsing playbooks 2015-10-27 12:39:42 -07:00
path.py Fix mock loader for osx /etc symlinks (#16074) 2016-05-31 18:02:39 -04:00
procenv.py A little unittest refactoring (#16704) 2016-07-14 09:22:54 -07:00