python-glareclient/glareclient/tests/unit
Corey Bryant b1364646f7 python3 compatibility for failing unit tests
Handle StopIteration for Py3.7. PEP 0479,
https://www.python.org/dev/peps/pep-0479/, makes the following
change: "when StopIteration is raised inside a generator, it is
replaced it with RuntimeError". And states: "If raise StopIteration
occurs directly in a generator, simply replace it with return."

Also fix test cases that make assumptions about the ordering of
**kwargs. Python, up to 3.6, doesn't preserve any ordering for those.
And the behavior differs between various Python versions.
For details see PEP 0468 (https://www.python.org/dev/peps/pep-0468/)

Change-Id: I9847053534ffd47c4559d504be647be0de25b651
Closes-Bug: #1784714
Closes-Bug: #1711469
2019-09-10 11:32:23 +02:00
..
osc Allow to delete blobs with external urls 2017-08-12 12:39:11 +03:00
v1 python3 compatibility for failing unit tests 2019-09-10 11:32:23 +02:00
var Glare client code 2016-09-12 14:24:03 +03:00
__init__.py Glare client code 2016-09-12 14:24:03 +03:00
base.py Glare client code 2016-09-12 14:24:03 +03:00
fakes.py Add new common/http 2016-09-27 13:48:42 +03:00
test_common_http.py Add ssl options to keycloak auth module 2017-08-10 18:22:49 +03:00
test_progressbar.py HTTP Client refactoring 2017-01-17 16:35:26 +03:00
test_shell.py Don't create client for help and bash completion 2017-10-20 20:50:58 +00:00
test_utils.py HTTP Client refactoring 2017-01-17 16:35:26 +03:00