mirror of
https://opendev.org/openstack/python-heatclient.git
synced 2026-01-17 07:10:29 +00:00
Added support for running the tests under PyPy with tox
This is a precursor to having them run under check and gate. This also fixes a single test which fails on PyPy, the test failes at because it assumes a ``dict`` has a particular order for its keys when it is printed out, on PyPy dicts have a different order sometimes, the exact ordering is not a guarnteed property of Python. Change-Id: Ie86726a0221e5e9aa68f7303d8ca8c7acd878f65
This commit is contained in:
parent
a5d71080ef
commit
9d19772089
2 changed files with 4 additions and 4 deletions
|
|
@ -438,9 +438,9 @@ class ShellTest(TestCase):
|
|||
show_text = self.shell('template-show teststack')
|
||||
required = [
|
||||
'{',
|
||||
' "AWSTemplateFormatVersion": "2010-09-09",',
|
||||
' "Outputs": {},',
|
||||
' "Resources": {},',
|
||||
' "AWSTemplateFormatVersion": "2010-09-09"',
|
||||
' "Outputs": {}',
|
||||
' "Resources": {}',
|
||||
' "Parameters": {}',
|
||||
'}'
|
||||
]
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py26,py27,pep8
|
||||
envlist = py26,py27,pypy,pep8
|
||||
|
||||
[testenv]
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue