d60f40af64
* Use OrderedDict to get a deterministic order for instance_mapping. On Python 3, dictionary keys are iterated on a random order because of the randomized hash function. * LbaasAgentManager.agent_updated(): replace dict.keys() with list(dict.keys()) since the loop body modifies the dict, and dict.keys() now returns a view on Python 3, no more a list. * Data model: only encode text strings to UTF-8 on Python 2. Python 3 loves Unicode! * replace contextlib.nested() with tests.nested() * tests-py3.txt: add tests.unit.agent.test_agent_manager Change-Id: Ia3a461e4ae04b178a626885588d1d13cee8ca38f |
||
---|---|---|
.. | ||
__init__.py | ||
agent.py | ||
agent_api.py | ||
agent_device_driver.py | ||
agent_manager.py |