diff options
Diffstat (limited to 'windriver')
-rw-r--r-- | windriver/titanium_cloud/registration/tests/test_registration.py | 6 | ||||
-rw-r--r-- | windriver/tox.ini | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/windriver/titanium_cloud/registration/tests/test_registration.py b/windriver/titanium_cloud/registration/tests/test_registration.py index 041d2ec0..4c20edee 100644 --- a/windriver/titanium_cloud/registration/tests/test_registration.py +++ b/windriver/titanium_cloud/registration/tests/test_registration.py @@ -103,11 +103,7 @@ MOCK_GET_HYPERVISOR_RESPONSE = { "hypervisor_hostname": "testing", "state": "ACTIVE", "id": 1, "local_gb": 256, "memory_mb": 1024, "hypervisor_links": "link", "host_ip": "127.0.0.1", - "cpu_info": { - "topology": { - "cores": 8, "threads": 16, "sockets": 4 - } - } + "cpu_info": u'{"topology": {"cores": 8, "threads": 16, "sockets": 4}}' }, { "hypervisor_hostname": "testing2", "state": "XXX", diff --git a/windriver/tox.ini b/windriver/tox.ini index 764cf01c..90357d66 100644 --- a/windriver/tox.ini +++ b/windriver/tox.ini @@ -9,6 +9,6 @@ downloadcache = ~/cache/pip setenv = PYTHONPATH = {toxinidir}/../newton deps = -r{toxinidir}/requirements.txt -commands = coverage run --branch manage.py test titanium_cloud - coverage html --omit=".tox*,*test*,*__init__.py" -d htmlcov - +commands = + coverage run --branch manage.py test titanium_cloud + coverage report --omit=".tox/*,*tests*,*__init__.py,*newton*" --fail-under=30 |