openstack-python-openstackc.../openstackclient/tests/functional/compute/v2
Eric Fried f1d742f32a Fix functional tests for py3
Fix various things so the functional tests will work under python3:

- A hashlib.md5() can only be update()d with an encoded string in py3.
- There's no dict.iteritems(), change to dict.items() (which is already
  an iterator).
- Open temp files with 'w+' mode rather than the default 'w+b' (as an
  alternative to encoding all the write and expected-read payloads as
  bytes).
- (This is a weird one) Explicitly raise SkipTest from unittest (rather
  than unittest2, which is where cls.skipException landed). Not sure why
  this is busted, but this moves the ball.

Change-Id: Ic9b2b47848a600e87a3674289ae7ae8c3e091fee
2019-10-31 00:17:35 +00:00
..
__init__.py move all functional tests to tests module 2016-09-09 03:29:47 +00:00
common.py volume functest: ensure snapshots deleted when volume delete 2017-06-06 01:14:20 +00:00
test_agent.py Fix functional tests for py3 2019-10-31 00:17:35 +00:00
test_aggregate.py More aggregate functional race chasing 2019-09-10 14:09:29 -05:00
test_flavor.py Replace assertEqual(True/False, expr) with assertTrue/assertFalse 2018-11-14 14:50:05 +08:00
test_keypair.py Fix functional tests for py3 2019-10-31 00:17:35 +00:00
test_server.py Add openstack server create --boot-from-volume option 2019-08-09 16:44:46 +00:00
test_server_event.py Refactor ServerTests and ServerEventTests functional test classes 2017-03-10 14:50:21 +08:00
test_server_group.py Functional test for server group 2016-11-24 22:50:44 +08:00