|
1
|
"""Shared pytest fixtures.""" |
|
2
|
|
|
3
|
from __future__ import annotations |
|
4
|
|
|
5
|
import pytest |
|
6
|
|
|
7
|
from boilerworks.manifest import BoilerworksManifest, DataConfig, ServicesConfig |
|
8
|
from boilerworks.manifest import TestingConfig as TestingCfg |
|
9
|
|
|
10
|
|
|
11
|
@pytest.fixture() |
|
12
|
def valid_manifest() -> BoilerworksManifest: |
|
13
|
return BoilerworksManifest( |
|
14
|
project="my-app", |
|
15
|
family="django-nextjs", |
|
16
|
size="full", |
|
17
|
topology="standard", |
|
18
|
cloud="aws", |
|
19
|
region="us-east-1", |
|
20
|
domain="myapp.com", |
|
21
|
mobile=False, |
|
22
|
web_presence=False, |
|
23
|
compliance=["soc2"], |
|
24
|
services=ServicesConfig(email="ses"), |
|
25
|
data=DataConfig(), |
|
26
|
testing=TestingCfg(e2e="playwright"), |
|
27
|
) |
|
28
|
|