def test_post_multipart(self): """post_multipart: sends the data as a multipart form""" obs = post_multipart('metagenomics.nmpdr.org', self.params, self.sample_file, submit_to_server=False) self.assertEqual(obs, post_body_exp)
def test_post_multipart(self): """post_multipart: sends the data as a multipart form""" obs=post_multipart('metagenomics.nmpdr.org', self.params, \ self.sample_file, submit_to_server=False) self.assertEqual(obs, post_body_exp)