Move unit tests to "unit" directory

This refoctor is needed for tempest test work as tempest tests
will placed in test dir. So move unit tests to separate directory
"unit" under test.

Change-Id: Ic99df6111ef30947148a9e38b9435a54f3d37064
changes/07/301507/1
Anton Arefiev 7 years ago
parent c5657decbe
commit 30ae1e72f1
  1. 0
      ironic_inspector/test/unit/__init__.py
  2. 0
      ironic_inspector/test/unit/test_common_ironic.py
  3. 0
      ironic_inspector/test/unit/test_firewall.py
  4. 0
      ironic_inspector/test/unit/test_introspect.py
  5. 0
      ironic_inspector/test/unit/test_keystone.py
  6. 0
      ironic_inspector/test/unit/test_main.py
  7. 0
      ironic_inspector/test/unit/test_migrations.py
  8. 0
      ironic_inspector/test/unit/test_node_cache.py
  9. 0
      ironic_inspector/test/unit/test_plugins_base.py
  10. 0
      ironic_inspector/test/unit/test_plugins_discovery.py
  11. 0
      ironic_inspector/test/unit/test_plugins_extra_hardware.py
  12. 0
      ironic_inspector/test/unit/test_plugins_raid_device.py
  13. 0
      ironic_inspector/test/unit/test_plugins_rules.py
  14. 0
      ironic_inspector/test/unit/test_plugins_standard.py
  15. 0
      ironic_inspector/test/unit/test_process.py
  16. 0
      ironic_inspector/test/unit/test_rules.py
  17. 0
      ironic_inspector/test/unit/test_swift.py
  18. 0
      ironic_inspector/test/unit/test_utils.py
  19. 4
      tox.ini

@ -7,7 +7,7 @@ deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/plugin-requirements.txt
commands =
coverage run --branch --include "ironic_inspector*" -m unittest discover ironic_inspector.test
coverage run --branch --include "ironic_inspector*" -m unittest discover ironic_inspector.test.unit
coverage report -m --fail-under 90
setenv = PYTHONDONTWRITEBYTECODE=1
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
@ -21,7 +21,7 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
[testenv:cover]
commands =
coverage run --branch --include "ironic_inspector*" -m unittest discover ironic_inspector.test
coverage run --branch --include "ironic_inspector*" -m unittest discover ironic_inspector.test.unit
coverage report -m
[testenv:pep8]

Loading…
Cancel
Save