Overview
Check out the PipelineResource (in api).
It has a get_logs method but we do not have corresponding integration tests for the method (check in test/integration).
The problem is that a pipeline needs to be deployed so that there are logs.
Therefore, the test setup here is a bit more involved:
- we need to create a valid pipeline
- we need to poll the pipeline status (get pipeline and check status)
- we can get logs once the pipeline status is DEPLOYED
Create integration tests that do this, mark them as "extra-slow" so that we can exclude them when we don't want to wait.
You can put the tests into a new file.
Overview
Check out the PipelineResource (in api).
It has a get_logs method but we do not have corresponding integration tests for the method (check in test/integration).
The problem is that a pipeline needs to be deployed so that there are logs.
Therefore, the test setup here is a bit more involved:
Create integration tests that do this, mark them as "extra-slow" so that we can exclude them when we don't want to wait.
You can put the tests into a new file.