• Iustin Pop's avatar
    Check consistency of the class names and OP_ID · ff0d18e6
    Iustin Pop authored
    As the class names should be now consistent with the OP_IDs, we add a
    check for wrongly-defined OP_IDs.
    However, the future removal of the hand-coded OP_IDs will render this
    obsolete, so this check is introduced just to make sure that the
    previous renaming patches did the right job, and it will then be
    The consistency checks require renaming the test opcodes, which were
    using arbitrary names, depending on test author. They are now all
    standardized on OpTest (local scope).
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
ganeti.cmdlib_unittest.py 6.99 KB