* Add separate class for sftp file system * Add separate serial IO handling class * Replace function name mangling with gcode handler registration system * Add states to virtual Bambu printer that manage state specific interaction * Add synchronization utilities to work with virtual printer as if it is a binary stream * Add unittests with mocked Bambu printer to ensure core functionality works as expected * Fix formatting to be automatically processed by black formatter * Fix python 3.10 type annotations for readability
10 lines
199 B
Python
10 lines
199 B
Python
from pathlib import Path
|
|
from pytest import fixture
|
|
|
|
|
|
@fixture
|
|
def output_folder():
|
|
folder = Path(__file__).parent / "test_output"
|
|
folder.mkdir(parents=True, exist_ok=True)
|
|
return folder
|