-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
While reviewing https://code.launchpad.net/~artemstreltsov/lp-signing/+git/lp-signing/+merge/501696/+index?ss=1 I have checked if the (machine charm's) workload can be easily mocked out using https://pypi.org/project/pyfakefs/
Turns out it cannot out of the box, because ops.testing wants access to real file system, e.g. to find the charm's YAML files.
We could get around that by sprinkling fs.pause() / fs.resume() in a few places... but then how can we detect if this dep is installed and more importantly active via user's fixtures?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels