You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
407 B
Python
19 lines
407 B
Python
import logging
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
logging.basicConfig(
|
|
level=logging.INFO,
|
|
format="%(levelname)s %(asctime)s.%(msecs)03d %(module)s: %(message)s",
|
|
datefmt="%H:%M:%S",
|
|
)
|
|
|
|
current_source_dir = Path(__file__).resolve().parent
|
|
test_dir = current_source_dir.parents[1]
|
|
if test_dir not in sys.path:
|
|
sys.path.insert(0, str(test_dir))
|
|
|
|
import mosq_test
|
|
import subprocess
|
|
import os
|