Refactor with its own entry point and startup script cista, instead of running via sanic. Config file handling and Droppy updates. HTTP redirection/acme server added.

This commit is contained in:
Leo Vasanko
2023-10-19 02:06:14 +03:00
committed by Leo Vasanko
parent 429a7dfb16
commit 05c6f03d20
18 changed files with 247 additions and 51 deletions

View File

@@ -1,8 +1,11 @@
import pytest
from unittest.mock import Mock
from time import sleep
from unittest.mock import Mock
import pytest
from cista.lrucache import LRUCache # Replace with actual import
def mock_open(key):
mock = Mock()
mock.close = Mock()