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
changes/87/44987/1
Alex Gaynor 2013-09-03 17:31:12 -07:00
parent a5d71080ef
commit 9d19772089
2 changed files with 4 additions and 4 deletions

View File

@ -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": {}',
'}'
]

View File

@ -1,5 +1,5 @@
[tox]
envlist = py26,py27,pep8
envlist = py26,py27,pypy,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}