Environment class cleanup
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
fd020ed2cf
commit
1801f83bb8
7 changed files with 58 additions and 66 deletions
|
|
@ -44,7 +44,7 @@ def test_interpolate_environment_variables_in_services(mock_env):
|
|||
}
|
||||
}
|
||||
assert interpolate_environment_variables(
|
||||
services, 'service', Environment(None)
|
||||
services, 'service', Environment()
|
||||
) == expected
|
||||
|
||||
|
||||
|
|
@ -70,5 +70,5 @@ def test_interpolate_environment_variables_in_volumes(mock_env):
|
|||
'other': {},
|
||||
}
|
||||
assert interpolate_environment_variables(
|
||||
volumes, 'volume', Environment(None)
|
||||
volumes, 'volume', Environment()
|
||||
) == expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue