Hi All, I am trying to write some unittests for my application and I tries to create a moc request with post method. Get method works and returns something but I did not get anything from post method so I went inside the MocReuest method and could not find any 'POST' key word or anything about post method. Seems like this has been removed. Do you know how I can generate a POST request. Here is the code I tried which did not work:
req = MockRequest(self.gr_api.env, method='POST', args={'create_report': 'create_report', 'form_token': 'a token', 'get_wiki_link': 'some link'}) -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-dev/a82e9ab9-4e56-40ed-9da6-1814c4045f86o%40googlegroups.com.