• Ma Zerun's avatar
    Refine default hooks and custom hooks priority rank. (#1120) · 6fe37225
    Ma Zerun authored
    * Refine default hooks and custom hooks priority rank.
    
    * Add unit tests for custom hooks with string priority.
    
    * Use priority `ABOVE_NORMAL` and `BELOW_NORMAL` instead of `HIGHER` and
    `LOWER`.
    
    And add unit tests for custom hook with the same priority as
    default hooks.
    6fe37225
test_hooks.py 35.6 KB