Skip to content

Commit

Permalink
Remove unused functions
Browse files Browse the repository at this point in the history
Signed-off-by: Ygal Blum <[email protected]>
  • Loading branch information
ygalblum committed Jul 10, 2024
1 parent aac77be commit c7e61d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
11 changes: 0 additions & 11 deletions slack_server_mock/servers/http/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from tornado.web import Application


from slack_server_mock.injector.di import global_injector
from slack_server_mock.settings.settings import Settings
from slack_server_mock.servers.base_http_server import BaseHTTPServer
from slack_server_mock.servers.http import handler
Expand All @@ -23,13 +22,3 @@ def __init__(self, settings: Settings) -> None:
]
)
super().__init__(app, settings.slack_server.http_port)


def start_http_server():
""" Static method for starting the HTTP Server """
global_injector.get(SlackHTTPServer).run()


def stop_http_server():
""" Static method for stopping the HTTP Server """
global_injector.get(SlackHTTPServer).stop()
9 changes: 0 additions & 9 deletions slack_server_mock/servers/websocket/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from tornado.web import Application

from slack_server_mock.actor.actor import Actor
from slack_server_mock.injector.di import global_injector
from slack_server_mock.servers.websocket import handler
from slack_server_mock.settings.settings import Settings

Expand Down Expand Up @@ -32,11 +31,3 @@ def stop(self):
""" Stop the HTTP Server """
self._ws_server.stop()
print(f"WebSocket server shutdown")


def start_websocket_server():
global_injector.get(SlackWebSocketServer).run()


def stop_websocket_server():
global_injector.get(SlackWebSocketServer).stop()

0 comments on commit c7e61d2

Please sign in to comment.