Tool: Pyflakes Processed Files: rbpkg/repository/package_repo.py rbpkg/testing/testcases.py Tool: PEP8 Style Checker Processed Files: rbpkg/repository/package_repo.py rbpkg/testing/testcases.py
Add a global accessor for getting an instance of the PackageRepository.
Review Request #7731 — Created Oct. 24, 2015 and submitted
This adds a
get_repository()function that returns a single instance of
PackageRepository. This allows multiple call sites to share the same
A method to
PackageRepositoryhas also been added to clear out the
caches, which unit tests call to ensure they don't stomp all over each
Unit tests making use of this in an upcoming change pass.