mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-30 01:00:37 +01:00
17 lines
463 B
Python
17 lines
463 B
Python
def test_create_project():
|
|
import os
|
|
import sys
|
|
|
|
os.system(
|
|
f"{sys.executable} -m kivymd.tools.patterns.create_project "
|
|
f"MVC "
|
|
f"{os.path.expanduser('~')} "
|
|
f"TestProject "
|
|
f"{sys.executable} "
|
|
f"master "
|
|
f"--name_screen TestProjectScreen "
|
|
f"--name_database restdb "
|
|
f"--use_hotreload yes"
|
|
)
|
|
assert os.path.exists(os.path.join(os.path.expanduser("~"), "TestProject"))
|