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
A global cache in gabbi/pytester.py uses keys which are insufficiently distinct when a yaml file has the same name but is in a different directory and loaded via a different test.
(More detail to follow, this is a reminder)
The text was updated successfully, but these errors were encountered:
allow reading yaml data from disk with YAMLDiskLoadingJSONHandler
This commit aims to extend the jsonhandler to be able to read
data from disk if it is a yaml file.
Simply replacing the loads call with yaml.safe_load is not enough
due to the nature of the NaN checker requiring an unsafe load[1].
closes#253
Tests with the same filename were failing when running the tests
under pytest, see #255
To avoid running more than one response handler for the same type,
use a set to track the handers we have available.
A global cache in
gabbi/pytester.py
uses keys which are insufficiently distinct when a yaml file has the same name but is in a different directory and loaded via a different test.(More detail to follow, this is a reminder)
The text was updated successfully, but these errors were encountered: