mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-12-01 17:40:36 +01:00
16 lines
436 B
Python
16 lines
436 B
Python
def test_create_project():
|
|
import os
|
|
|
|
os.system(
|
|
f"python3.10 -m kivymd.tools.patterns.create_project "
|
|
f"MVC "
|
|
f"{os.path.expanduser('~')} "
|
|
f"TestProject "
|
|
f"python3.10 "
|
|
f"stable "
|
|
f"--name_screen TestProjectScreen "
|
|
f"--name_database restdb "
|
|
f"--use_hotreload yes"
|
|
)
|
|
assert os.path.exists(os.path.join(os.path.expanduser("~"), "TestProject"))
|