Beispiel #1
0
def test_msi_tables():
    assert msi_engine.msi_file_table() == [
        "check_mk_ini", "check_mk_install_yml", "checkmk.dat", "plugins_cap", "python_3.8.zip"
    ]
    assert msi_engine.msi_component_table() == [
        "check_mk_ini_", "check_mk_install_yml_", "checkmk.dat", "plugins_cap_", "python_3.8.zip"
    ]
Beispiel #2
0
def test_msi_component_table():
    a = msi_engine.msi_component_table()
    assert len(a) == len(
        EXPECTED_COMPONENT_TABLE)  # size now(yml, dat & cap, zip)
    a_sorted = sorted(a)
    assert a == a_sorted  # array should be sorted
Beispiel #3
0
def test_msi_tables():
    assert msi_engine.msi_file_table() == EXPECTED_FILE_TABLE
    assert msi_engine.msi_component_table() == EXPECTED_COMPONENT_TABLE