DownloadResult tests succeed locally, but fail in pipeline

I’ve a couple of integration tests for a DownloadResult.
locally the tests succeed, but when the branch is pushed, the the tests fail in the pipeline.
A KeyError is raised from a viktor-file.

Hi Guido,

the reason this doesn’t work is that an external server is called for the fill spreadsheet service. This can be addressed by mocking this part in your test. You can read more on this here in the documentation: Development tools & tips - Writing automated tests | VIKTOR Documentation

will make an internal request to make this more clear in the documentation.

have a good weekend,

clear, thanks for the help