initial commit

initial commit
This commit is contained in:
onyx-and-iris
2022-04-05 20:05:55 +01:00
commit bf9b72f31f
21 changed files with 2392 additions and 0 deletions

17
tests/__init__.py Normal file
View File

@@ -0,0 +1,17 @@
import mair
from mair import kinds
import threading
_kind = 'MR18'
mars = {kind.id_: mair.connect(_kind) for kind in kinds.all}
tests = mars[_kind]
def setup_package():
tests.worker = threading.Thread(target = tests.run_server)
tests.worker.daemon = True
tests.worker.start()
tests.validate_connection()
def teardown_package():
tests.server.shutdown()