def test_module_disallow_import_failures(runner: CliRunner):
    result = runner.invoke(cli, ['-m', 'module_misc', '--strict-imports'])
    assert (result.exit_code == 1)
    assert (result.output == "ERROR: Failed to import 'module_misc.a.evil'.\nOh no, found some problems!\nScanned 18 module(s), 8 class(es).\n")
def test_module_disallow_import_failures(runner: CliRunner):
    result = runner.invoke(cli, ['-m', 'module_misc', '--strict-imports'])
    assert (result.exit_code == 1)
    assert (result.output == "ERROR: Failed to import 'module_misc.a.evil'.\nOh no, found some problems!\nScanned 18 module(s), 8 class(es).\n")