@safe
def test_webapp_new():
    """Test that webapps can be validated."""
    with open("tests/resources/testwebapp.webapp") as file_:
        out = validate_app(file_.read())
    j = json.loads(out)
    assert j["success"], "Expected not to fail: %s" % j
dataset/ETHPy150Open mozilla/app-validator/tests/test_validate.py/test_webapp_new/original