Cleanup requirements.txt so we don't have to maintain separate copies for py2 and py3.
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
parent
9aa61e596e
commit
2943ac6812
15 changed files with 44 additions and 45 deletions
|
|
@ -41,7 +41,7 @@ class ServiceTest(unittest.TestCase):
|
|||
dict(Name=str(i), Image='foo', Id=i) for i in range(3)
|
||||
]
|
||||
service = Service('db', self.mock_client, 'myproject', image='foo')
|
||||
self.assertEqual([c.id for c in service.containers()], range(3))
|
||||
self.assertEqual([c.id for c in service.containers()], list(range(3)))
|
||||
|
||||
expected_labels = [
|
||||
'{0}=myproject'.format(LABEL_PROJECT),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue