mirror of
https://github.com/liberatedsystems/Sideband_CE.git
synced 2024-09-03 04:13:27 +02: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"))
|