Пример #1
0
def test_parsed_script_contains_one_target():
    parser = Parser()
    result = parser.parse_script(test_show_something_script)
    assert len(result.targets) == 1
Пример #2
0
def test_parse_script_returns_ParsedBuildStructure():
    parser = Parser()
    result = parser.parse_script(test_show_something_script)
    assert isinstance(result, ParsedBuildStructure)