Пример #1
0
def test_parse_source_bugzilla():
    s = bughub.parse_source("bugzilla:foo=bar:foo=baz")

    assert s.filters == {"foo": ["bar", "baz"]}
Пример #2
0
def test_parse_source_bugzilla():
    s = bughub.parse_source("bugzilla:foo=bar:foo=baz")

    assert s.filters == {"foo": ["bar", "baz"]}
Пример #3
0
def test_parse_source_github():
    s = bughub.parse_source("github:user:repo:foo=bar:foo=baz")

    assert s.user == "user"
    assert s.repo == "repo"
    assert s.filters == {"foo": ["bar", "baz"]}
Пример #4
0
def test_parse_source_github():
    s = bughub.parse_source("github:user:repo:foo=bar:foo=baz")

    assert s.user == "user"
    assert s.repo == "repo"
    assert s.filters == {"foo": ["bar", "baz"]}