cinder/cinder/tests/unit/targets
Victor Stinner e97b10d15a Fix Python 3 issues in targets unit tests
* Replace StandardError with ZeroDivisionError: StandardError was
  removed in Python 3.
* Replace __builtin__ with six.moves.builtins.
* Open text mode with "w" mode (instead of "wb").
* tox.ini: add targets unit tests to Python 3.4

Note: cinder.tests.unit.targets.test_iet_driver still fails on Python 3,
it will be fixed in a different change.

Blueprint cinder-python3
Change-Id: Ie0f5d2dfaf2ffdeab29fe40f692a2f09fb5a7aba
2015-06-30 16:23:13 +02:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
targets_fixture.py Targets tests: Clean up long lines 2015-06-15 12:58:54 -04:00
test_base_iscsi_driver.py Targets test refactoring 2015-04-30 18:02:57 +03:00
test_cxt_driver.py Fix Python 3 issues in targets unit tests 2015-06-30 16:23:13 +02:00
test_iet_driver.py Get StringIO from six for Python 3 compatibility 2015-06-15 11:39:23 +02:00
test_iser_driver.py Targets test refactoring 2015-04-30 18:02:57 +03:00
test_lio_driver.py Targets tests: Clean up long lines 2015-06-15 12:58:54 -04:00
test_scst_driver.py Targets test refactoring 2015-04-30 18:02:57 +03:00
test_tgt_driver.py Fix Python 3 issues in targets unit tests 2015-06-30 16:23:13 +02:00