Ejemplo n.º 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"
    ]
Ejemplo n.º 2
0
def test_msi_file_table():
    a = msi_engine.msi_file_table()
    assert len(a) == len(
        EXPECTED_FILE_TABLE)  # size for now(yml, dat & cap, zip)
    a_sorted = sorted(a)
    assert a == a_sorted  # array should be sorted
Ejemplo n.º 3
0
def test_msi_tables():
    assert msi_engine.msi_file_table() == EXPECTED_FILE_TABLE
    assert msi_engine.msi_component_table() == EXPECTED_COMPONENT_TABLE