Closed
Description
Description of issue or feature request:
There is a need in some test cases to check whether Updater requested the correct files from the repository.
For a concrete use case see #1666.
One option used in #1666 is to use unittest.mock
and "wrap" RepositorySimulator._fetch_*
methods which does the job but does make the tests less readable.
Therefore as an alternative, proposed by @jku #1666 (review), checking that the expected files are downloaded from remote can be done by adding some download counters into RepositorySimulator
which would be cleaner and more maintainable