Skip to content

Commit 01236c8

Browse files
committed
missing import of requests
Signed-off-by: Vanessa Sochat <[email protected]>
1 parent ffc5280 commit 01236c8

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

scompose/tests/test_client.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
from scompose.project import Project
1010
from scompose.utils import run_command
1111
from time import sleep
12+
import requests
1213
import pytest
13-
import tempfile
1414
import shutil
1515
import 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()

scompose/tests/test_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
88

99
import os
10-
import shutil
1110
import pytest
1211

1312

0 commit comments

Comments
 (0)