Beispiel #1
0
def test_primary_simple_known_module():
    expected = "0000dead0000beef:MyModule:MyTemplate"
    actual = normalize("0000dead0000beef:MyModule:MyTemplate")
    assert actual == expected
Beispiel #2
0
def test_star_normalize():
    expected = "*:*"
    actual = normalize("*")
    assert actual == expected
Beispiel #3
0
def test_normalize_unknown_package_without_explicit_star():
    expected = "*:MyModule:MyTemplate"
    actual = normalize("MyModule:MyTemplate")
    assert actual == expected