Ejemplo n.º 1
0
 def post_calibration_report(self, post_dict):
     """ Convenience function to post the supplied dictionary to the
     request.
     """
     from calibrationreport.views import CalibrationReportViews
     request = testing.DummyRequest(post_dict)
     inst = CalibrationReportViews(request)
     return inst.calibration_report()