@property
    def new_object_data(self):
        modifiers = (self.datetime, self.resource_name)
        self.productversion_fixture = self.F.ProductVersionFactory.create()
        self.case_fixture = self.F.CaseFactory.create()
        self.case_fixture.product = self.productversion_fixture.product
        self.case_fixture.save()

        fields = {
            u"case": unicode(self.get_detail_url(
                "case", self.case_fixture.id)),
            u"created_by": None,
            u"modified_by": None,
            u"modified_on": unicode(self.utcnow.strftime("%Y-%m-%dT%H:%M:%S")),
            u"name": unicode("test_%s_%s" % modifiers),
            u"description": unicode("test %s %s" % modifiers),
            u"productversion": unicode(self.get_detail_url(
                "productversion", self.productversion_fixture.id)),
            u"productversion_name": unicode(self.productversion_fixture.name),
            u"priority": unicode("None"),
            u"status": unicode("draft"),
            u"environments": [],
            u"tags": [],
#            u"attachments": [],
            u"steps": [],
        }

        return fields
Generates a dictionary containing the field names and auto-generated
dataset/ETHPy150Open mozilla/moztrap/tests/model/library/api/test_caseversion_resource.py/CaseVersionResourceTest.new_object_data