ansible/test/units/module_utils/basic
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
test__log_invocation.py Ship constants to the modules via internal module params rather than a secondary dict. 2016-05-12 20:30:05 -07:00
test_exit_json.py Ship constants to the modules via internal module params rather than a secondary dict. 2016-05-12 20:30:05 -07:00
test_heuristic_log_sanitize.py For now, skip tests of module_utils/basic functions that are failing on 2015-12-03 14:16:29 -08:00
test_known_hosts.py Make module_utils.known_hosts.get_fqdn work on ipv6 2015-12-14 19:30:54 +01:00
test_log.py Fix unit tests for module_name commit #16087 2016-06-10 21:13:34 +02:00
test_no_log.py For now, skip tests of module_utils/basic functions that are failing on 2015-12-03 14:16:29 -08:00
test_run_command.py Port urls.py to python3 and other byte vs text fixes (#16124) 2016-06-04 16:19:57 -07:00
test_safe_eval.py A little unittest refactoring (#16704) 2016-07-14 09:22:54 -07:00
test_set_mode_if_different.py A little unittest refactoring (#16704) 2016-07-14 09:22:54 -07:00