コード例 #1
0
 def test_experimentgroup_DELETE_nonexistent_experiment_and_experimentgroup(
         self):
     self.req.swagger_data = {'appid': 1, 'expid': 2, 'expgroupid': 2}
     httpExperiments = Experiments(self.req)
     response = httpExperiments.experimentgroup_DELETE()
     assert response.status_code == 400
コード例 #2
0
 def test_experimentgroup_DELETE(self):
     self.req.swagger_data = {'appid': 1, 'expid': 1, 'expgroupid': 1}
     httpExperiments = Experiments(self.req)
     response = httpExperiments.experimentgroup_DELETE()
     assert response == {}