Example #1
0
def test_multiple_wildcards_are_matching():
    modules = seeker.modules_to_search(css_regression, 24, 10, "css")
    assert modules == ["Html", "Html.Attributes", "Html.Events"]
Example #2
0
def test_query_string_when_there_are_two_wildcards():
    modules = seeker.modules_to_search(wildcard2, 8, 10, "join")
    assert modules == ["List", "String"]
Example #3
0
def test_module_lister_works_with_wildcarded():
    assert seeker.modules_to_search(wildcard, 8, 11, "join") == ["String"]
Example #4
0
def test_module_lister_works_when_module_aliased():
    assert seeker.modules_to_search(aliased, 8, 15, "join") == ["String"]
Example #5
0
def test_module_lister_works_with_exposed():
    assert seeker.modules_to_search(exposing, 8, 10, "join") == ["String"]
Example #6
0
def test_module_lister_works_with_qualified():
    assert seeker.modules_to_search(qualified, 8, 17, "join") == "String"