diff options
author | Wesley Wiedenmeier <wesley.wiedenmeier@gmail.com> | 2017-03-17 12:26:59 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-03-17 13:37:56 -0400 |
commit | 3ec116a1bb3646c2ff932bed24b4bf087b51cb8c (patch) | |
tree | 59a428b38e1406377465664655c2108b43c1e36a /cloudinit/config/cc_disk_setup.py | |
parent | d97ca2c89518e71ced86c057d8f853a457458cc9 (diff) | |
download | vyos-cloud-init-3ec116a1bb3646c2ff932bed24b4bf087b51cb8c.tar.gz vyos-cloud-init-3ec116a1bb3646c2ff932bed24b4bf087b51cb8c.zip |
Integration Testing: improve testcase subclassing
Use inspect.getmro(mod) rather than mod.__bases__ to test if a potential
testcase class inherits from CloudTestCase. This allows testcases to be
based on CloudTestCase indirectly, adding greater flexibility to the
structure of test classes.
Diffstat (limited to 'cloudinit/config/cc_disk_setup.py')
0 files changed, 0 insertions, 0 deletions