Chris Dent

Results 18 issues of Chris Dent

Like fixtures, but a call to an external executable, for when gabbi-run is being used. This could be explicit, by putting something in the yaml file, or implicit off the...

enhancement

In https://github.com/cdent/gabbi/pull/279 testtools was removed. Fixtures in the openstack community that do output capturing rely on some "end of test" handling in testtools to dump the accumulated data. You can...

_Bear with me, this is hard to explain_ Python v 3.6.9 gabbi: 1.49.0 A test file with named `device-types.yaml` with a test of: ``` tests: - name: get only 405...

The warning is: ``` gabbi/case.py:648: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. ``` It's checking `self.response_data`...

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...

It ought to be possible to generate tests from something other than yaml files. From IRC converations with @elmiko one idea was: ``` [10:24pm] cdent: what about passing a generator...

One way to do this would be to have another replacement magic string, such as $UUID which gets a uuid. However would this be the same uuid throughout all replacements...

enhancement

[use json pointer](https://python-json-pointer.readthedocs.io/en/latest/) (As I'm writing this it made me think that maybe content handlers should use entry-points, but I actually don't think that's a good idea because then they...

enhancement

Add a flag to `build_tests` that allows turning `wsgi_intercept.STRICT_RESPONSE_HEADERS` on and in the wsgi intercept context manager fixture. The challenge here is getting the flag value to the fixture. Also...

enhancement

In openstack placement related discussions, the idea of a `response_forbidden_json_paths` was mooted. It would allow a test to say "this property is not in the json attribute". http://p.anticdent.org/Uz9

enhancement