Fix lint and unit tests

This commit is contained in:
Liam Young 2015-09-17 12:36:07 +01:00
parent 50886fc17c
commit e0c9e42e67
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ description: |
OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In
addition to its "native" API (the OpenStack API), it also supports the Amazon addition to its "native" API (the OpenStack API), it also supports the Amazon
EC2 API. EC2 API.
categories: tags:
- openstack - openstack
provides: provides:
cloud-compute: cloud-compute:

View File

@ -731,6 +731,7 @@ class NovaComputeUtilsTests(CharmTestCase):
group='root', group='root',
nr_hugepages=488, nr_hugepages=488,
mount=False, mount=False,
set_shmmax=True,
) )
check_call_calls = [ check_call_calls = [
call('/etc/init.d/qemu-hugefsdir'), call('/etc/init.d/qemu-hugefsdir'),
@ -752,6 +753,7 @@ class NovaComputeUtilsTests(CharmTestCase):
group='root', group='root',
nr_hugepages=2048, nr_hugepages=2048,
mount=False, mount=False,
set_shmmax=True,
) )
@patch('psutil.virtual_memory') @patch('psutil.virtual_memory')