1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
import pytest
from ....utils import create_file, create_plist_file
@pytest.fixture
def first_app_generated(first_app_config, tmp_path):
# Create the briefcase.toml file
create_file(
tmp_path / "base_path/macos/xcode/First App/briefcase.toml",
"""
[paths]
app_packages_path="app_packages"
support_path="support"
info_plist_path="Info.plist"
""",
)
create_plist_file(
tmp_path / "base_path/macos/xcode/First App/Info.plist",
{
"MainModule": "first_app",
},
)
return first_app_config
|