Summary
Now, it's extremely painful to write test cases for ubi-population-tool, which heavily used ubi-config. One reason is, it needs to mock everything provided by ubiconfig loader.
Now, since there's a major change in config files layout from remote and new attribute 'version' is introduced(made LocalLoader not usable anymore), maintainer of that repo might need to rewrite all the mock stuffs.
So, if a fake remote loader could be used, things will be much easier.
Issue Type
Current behavior
There is no fake loader.
Desired behavior
A fake remote loader provides all features a real loader provides, but it's doesn't rely on real repos and config files.
Use case
Easier for users of this repo to write test cases.
Additional Information
Summary
Now, it's extremely painful to write test cases for ubi-population-tool, which heavily used ubi-config. One reason is, it needs to mock everything provided by ubiconfig loader.
Now, since there's a major change in config files layout from remote and new attribute 'version' is introduced(made LocalLoader not usable anymore), maintainer of that repo might need to rewrite all the mock stuffs.
So, if a fake remote loader could be used, things will be much easier.
Issue Type
Current behavior
There is no fake loader.
Desired behavior
A fake remote loader provides all features a real loader provides, but it's doesn't rely on real repos and config files.
Use case
Easier for users of this repo to write test cases.
Additional Information