ansible/test/units/module_utils
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
..
basic A little unittest refactoring (#16704) 2016-07-14 09:22:54 -07:00
__init__.py Adding module_utils tests from v1 to v2 2015-05-17 01:29:40 -05:00
test_basic.py A little unittest refactoring (#16704) 2016-07-14 09:22:54 -07:00
test_database.py Adding module_utils tests from v1 to v2 2015-05-17 01:29:40 -05:00
test_distribution_version.py add more distribution version tests (#16563) 2016-07-04 15:57:57 +02:00