The aodh.hacking.checks ModuleΒΆ

Guidelines for writing new hacking checks

  • Use only for aodh specific tests. OpenStack general tests should be submitted to the common ‘hacking’ module.
  • Pick numbers in the range C3xx. Find the current test with the highest allocated number and then pick the next value.
  • Keep the test method code in the source file ordered based on the C3xx value.
  • List the new rule in the top level HACKING.rst file
  • Add test cases for each new rule to aodh/tests/test_hacking.py

Previous topic

The aodh.event Module

Next topic

The aodh.i18n Module

Project Source

This Page