Merge pull request #3592 from stakodiak/fix-privilege-typo

Fix a typo in a test's name.
This commit is contained in:
Aanand Prasad 2016-07-06 15:22:05 -07:00 committed by GitHub
commit 1e176b58c5
1 changed files with 2 additions and 2 deletions

View File

@ -593,12 +593,12 @@ class ServiceTest(DockerClientTestCase):
service.build()
assert service.image()
def test_start_container_stays_unpriviliged(self):
def test_start_container_stays_unprivileged(self):
service = self.create_service('web')
container = create_and_start_container(service).inspect()
self.assertEqual(container['HostConfig']['Privileged'], False)
def test_start_container_becomes_priviliged(self):
def test_start_container_becomes_privileged(self):
service = self.create_service('web', privileged=True)
container = create_and_start_container(service).inspect()
self.assertEqual(container['HostConfig']['Privileged'], True)