def test_create_must_contain_productversion(self):

        # get data for creation
        fields = self.new_object_data

        # mangle the data
        pvs = fields.pop("productversions")

        # do the create
        res = self.post(
            self.get_list_url(self.resource_name),
            params=self.credentials,
            payload=fields,
            status=400,
            )
        assert res.text == self._pv_required_msg
Read entries from the individual files and merge counts on the fly
dataset/ETHPy150Open mozilla/moztrap/tests/model/core/api/test_product_resource.py/ProductResourceTest.test_create_must_contain_productversion--crossover with--dataset/ETHPy150Open sfu-natlang/Kriya/src/Kriya-Grammar-Xtrctr/mergeTgtCounts.py/readNMerge