File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 99from scompose .project import Project
1010from scompose .utils import run_command
1111from time import sleep
12+ import requests
1213import pytest
13- import tempfile
1414import shutil
1515import os
1616
@@ -58,7 +58,7 @@ def test_commands(tmp_path):
5858 project .ps ()
5959
6060 print ('Testing exec' )
61- project .execute ('app' , ['echo' ,'MarsBar' ])
61+ project .execute ('app' , ['echo' , 'MarsBar' ])
6262
6363 # Ensure running
6464 assert requests .get ('http://127.0.0.1/' ).status_code == 200
@@ -75,6 +75,3 @@ def test_commands(tmp_path):
7575
7676 # Clean up
7777 shutil .rmtree (tmpdir )
78-
79- if __name__ == '__main__' :
80- unittest .main ()
Original file line number Diff line number Diff line change 77# with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
88
99import os
10- import shutil
1110import pytest
1211
1312
You can’t perform that action at this time.
0 commit comments