Ejemplo n.º 1
0
def test_inventory_printer_supply(info, expected_result):
    section = parse_printer_supply(info)
    result = discovery_printer_supply(section)
    assert list(result) == expected_result
Ejemplo n.º 2
0
def test_check_printer_supply(item, params, info, expected_result):
    section = parse_printer_supply(info)
    result = check_printer_supply(item, params, section)
    assert list(result) == expected_result
Ejemplo n.º 3
0
def test_parse_printer_supply(string_table, expected_result):
    assert parse_printer_supply(string_table) == expected_result