File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,10 @@ def test_container_environment_variables(self):
111
111
)
112
112
self .containers .append (container )
113
113
114
- # Verify that the user-provided environment variables are in the container's configuration
115
114
container_env = container .attrs .get ('Config' , {}).get ('Env' , [])
116
115
for key , value in env_dict .items ():
117
116
self .assertIn (f"{ key } ={ value } " , container_env )
118
117
119
- # Start the container and verify the environment variables are set
120
118
container .start ()
121
119
container .wait ()
122
120
logs = b"\n " .join (container .logs ()).decode ()
@@ -131,12 +129,10 @@ def test_container_environment_variables(self):
131
129
)
132
130
self .containers .append (container )
133
131
134
- # Verify that the user-provided environment variables are in the container's configuration
135
132
container_env = container .attrs .get ('Config' , {}).get ('Env' , [])
136
133
for env in env_list :
137
134
self .assertIn (env , container_env )
138
135
139
- # Start the container and verify the environment variables are set
140
136
container .start ()
141
137
container .wait ()
142
138
logs = b"\n " .join (container .logs ()).decode ()
You can’t perform that action at this time.
0 commit comments