You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please allow specifying a path to a locally-copied example-data repo, from which the examples for pytests can be fetched.
Why:
In some industries engineers have to work inside an environment with restricted internet access. Thus they cannot run pytests which require fetching examples from GitHub.
When debugging issues found during pytest-testing, it would be great to have the examples locally stored so that we don't need to fetch the same files from GitHub over and over again.
Steps for implementing the feature
One option is to add a setting to the local_config.json and/or conftest.py with a path to the local copy of the example-data repo. Then, in the pytest files check If this setting is specified. If yes - then look for examples there rather than download them from GitHub. If no - grab from GitHub.
P.S. Can be an argument passed to the decorater.