Add func3 tox environment for functional testing with Python 3.
It's the same as func, but runs functional tests with Python 3. One issue was fixed in ironic_inspector.test.functional. Change-Id: I6a081ad2ca8857018c6b531ed82182aab0ccca4d
This commit is contained in:
parent
cf58f63ab4
commit
38ee2340d9
@ -171,7 +171,8 @@ def mocked_server():
|
||||
conf_file = os.path.join(d, 'test.conf')
|
||||
db_file = os.path.join(d, 'test.db')
|
||||
with open(conf_file, 'wb') as fp:
|
||||
fp.write(CONF % {'db_file': db_file})
|
||||
content = CONF % {'db_file': db_file}
|
||||
fp.write(content.encode('utf-8'))
|
||||
|
||||
with mock.patch.object(utils, 'check_auth'):
|
||||
with mock.patch.object(utils, 'get_client'):
|
||||
|
Loading…
Reference in New Issue
Block a user