mirror of
https://github.com/markqvist/Sideband.git
synced 2024-10-01 03:15:37 -04: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"))
|