mirror of
https://github.com/markqvist/Sideband.git
synced 2024-12-29 01:16:20 -05: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"))
|