beanbag icon indicating copy to clipboard operation
beanbag copied to clipboard

Helper module for accessing REST interfaces from Python

Results 10 beanbag issues
Sort by recently updated
recently updated
newest added

The reason is that `py` is no longer bundled in `pytest` which now contains only a subset of the py package.

Currently the test_sane_inheritance fail for Python 3.6 This is due to the changes done at: http://bugs.python.org/issue23722 Also some more details can be found here: https://docs.python.org/3/reference/datamodel.html#creating-the-class-object This pull request addresses this...

``` (master)mwhudson@aeglos:/opt/opensource/deb/beanbag$ PYTHONPATH=. python3.6 `which py.test-3` ======================================================== test session starts ========================================================= platform linux -- Python 3.6.1, pytest-2.8.7, py-1.4.31, pluggy-0.3.1 rootdir: /opt/opensource/deb/beanbag, inifile: collected 4 items tests/test_attrdict.py . tests/test_bbv1.py . tests/test_bbv2.py...

When get the resource by BeanBag's attr and it includes a "-" char, should BeanBag support this kind of resource or raise a clearly error info?

Set BeanBag as a base class, can't use the super() function, the base class came to MyClassBase.

With this configuration it is possible to enable running tests on each push on [Travis CI](https://travis-ci.org/). Please note that currently the tests fail on Python 3.6 (see logs on https://travis-ci.org/lubomir/beanbag/builds/188245649)

For some complicated rest APIs , it is necessarily to be able to access the original JSON data. E.g. so the entire response can be stored in a JSONField in...

Some REST frame works require changing the mime type for every request (yes, this does seem dodgy). However there doesn't seem to be a good way to do this with...

While trying to access gitlab api and dealing with pagination, i need access to the resonse headers. As it looks from the code the response header is thrown away in...

If one sets `session.verify=False` subsequent `request()` calls of request module - session.request doesn't take this into account. Apparently one needs to set verify as a `request()` attribute. So `url_v1.py` could...