070411fbb7
This makes several types of changes to get rid of all of the deprecation warnings that are spewed during our unit test runs. Context changes: The user_domain and project_domain properties have been deprecated and user_domain_id and project_domain_id should be used instead. We have used the newer correct properties for some time now, but for compatibility we were still setting the old properties as well. Collections.abc: Between py2 and py3, some abstract classes were moved from collections to collections.abc. We had some compatibility code to try to handle this in most cases, but also had a few cases of using the classed directly from the old, deprecated location. assertRaisesRegexp: This was deprecated in favor of assertRaisesRegex. DefusedXML: DefusedXML has deprecated several things now that lxml handles things correctly. The project now recommends just using lxml. Change-Id: Ie2e46b45248d6a06edbe6cffc2eb8e2d341cd4c3 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
auth.py | ||
fault.py |