Exemplo n.º 1
0
 def test_route_artifact(self, mocked_post):
     lims = Lims(self.url, username=self.username, password=self.password)
     artifact = Mock(uri=self.url + "/artifact/2")
     lims.route_artifacts(artifact_list=[artifact],
                          workflow_uri=self.url +
                          '/api/v2/configuration/workflows/1')
     assert mocked_post.call_count == 1
Exemplo n.º 2
0
 def test_route_artifact(self, mocked_post):
     lims = Lims(self.url, username=self.username, password=self.password)
     artifact = Mock(uri=self.url+"/artifact/2")
     lims.route_artifacts(artifact_list=[artifact], workflow_uri=self.url+'/api/v2/configuration/workflows/1')
     assert mocked_post.call_count == 1