Exemplo n.º 1
0
def test_check(item, params, expected):
    assert expected == list(
        oracle_tablespaces.check_oracle_tablespaces(
            item,
            type_defs.Parameters(params),
            Section,
        ))
Exemplo n.º 2
0
def test_check_raises():
    with pytest.raises(IgnoreResultsError):
        list(oracle_tablespaces.check_oracle_tablespaces(
            "item.not.sent",
            {},
            Section,
        ))
Exemplo n.º 3
0
def test_check_raises():
    with pytest.raises(IgnoreResultsError):
        list(
            oracle_tablespaces.check_oracle_tablespaces(
                "item.not.sent",
                type_defs.Parameters({}),
                Section,
            ))