mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Websocket connection established
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import websockets
|
||||
0
src/backend/tests/__init__.py
Executable file → Normal file
0
src/backend/tests/__init__.py
Executable file → Normal file
@@ -1,8 +1,8 @@
|
||||
import json
|
||||
import os
|
||||
|
||||
from ..lib.config import Config
|
||||
from ..lib.library import Catalogue
|
||||
from .lib.config import Config
|
||||
from .lib.library import Catalogue
|
||||
|
||||
|
||||
class Test_Config(Config):
|
||||
|
||||
6
src/backend/tests/server_test.py
Normal file
6
src/backend/tests/server_test.py
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
from src.backend.lib.pyShelf import Server
|
||||
|
||||
def test_start():
|
||||
server = await Server().start()
|
||||
assert Server().start() is True
|
||||
Reference in New Issue
Block a user