def METHOD_NAME():
    """Test :func:`planemo.training.topic.Topic.init_from_kwds`."""
    topic = Topic()
    topic.init_from_kwds(
        {"topic_name": "topic", "topic_title": "New topic", "topic_target": "admin", "topic_summary": "Topic summary"}
    )
    assert topic.name == "topic"
    assert topic.type == "admin"
    assert topic.title == "New topic"
    assert topic.summary == "Topic summary"
    assert topic.dir == "topics/topic"
    assert len(topic.requirements) == 0