Wrap long lines and restrict lines to 105 characters.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
28e652daec
commit
57fc85b457
11 changed files with 106 additions and 43 deletions
|
|
@ -148,7 +148,9 @@ class GetContainerNameTestCase(unittest.TestCase):
|
|||
def test_get_container_name(self):
|
||||
self.assertIsNone(get_container_name({}))
|
||||
self.assertEqual(get_container_name({'Name': 'myproject_db_1'}), 'myproject_db_1')
|
||||
self.assertEqual(get_container_name({'Names': ['/myproject_db_1', '/myproject_web_1/db']}), 'myproject_db_1')
|
||||
self.assertEqual(
|
||||
get_container_name({'Names': ['/myproject_db_1', '/myproject_web_1/db']}),
|
||||
'myproject_db_1')
|
||||
self.assertEqual(
|
||||
get_container_name({
|
||||
'Names': [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue