'Configure the XBlock to be created by the fixture.
These arguments have the same meaning as in the Studio REST API:
* `category`
* `display_name`
* `data`
* `metadata`
* `grader_type`
* `publish`'

def __init__(self, category, display_name, data=None, metadata=None, grader_type=None, publish='make_public', **kwargs):

    self.category = category
    self.display_name = display_name
    self.data = data
    self.metadata = metadata
    self.grader_type = grader_type
    self.publish = publish
    self.children = []
    self.locator = None
    self.fields = kwargs
