Skip to content

Commit 94a53f2

Browse files
committed
isort fix
1 parent ea56813 commit 94a53f2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

cloudshell/sandbox_rest/sandbox_api.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
import requests
66

7-
from cloudshell.sandbox_rest.exceptions import SandboxRestAuthException, SandboxRestException
7+
from cloudshell.sandbox_rest.exceptions import (SandboxRestAuthException,
8+
SandboxRestException)
89

910

1011
@dataclass
@@ -404,8 +405,3 @@ def delete_execution(self, execution_id: str) -> None:
404405
response_dict = response.json()
405406
if not response_dict["result"] == "success":
406407
raise SandboxRestException(f"Failed execution deletion of id {execution_id}\n" f"Response: {response_dict}")
407-
408-
409-
if __name__ == "__main__":
410-
admin_api = SandboxRestApiSession(host="localhost", username="admin", password="admin", domain="end_users")
411-
user_token = admin_api.get_token_for_target_user("end_user")

0 commit comments

Comments
 (0)