def test_invalid_attributes():
    attrs = {'strong': 'title', 'script': 'async'}
    assert_false(app.attributes_are_valid(attrs))
def test_valid_attributes():
    attrs = {'strong': ['title'], 'script': ['async']}
    assert_true(app.attributes_are_valid(attrs))