12 lines
389 B
Python
12 lines
389 B
Python
|
|
"""Default profile resolution."""
|
||
|
|
|
||
|
|
from sandboxer.defaults import DEFAULT_CANARY_PROFILE, DEFAULT_COMPOSE_PROFILE, repo_root
|
||
|
|
|
||
|
|
|
||
|
|
def test_repo_root_points_at_sand_boxer() -> None:
|
||
|
|
assert repo_root().name == "sand-boxer"
|
||
|
|
|
||
|
|
|
||
|
|
def test_canary_profile_constant() -> None:
|
||
|
|
assert DEFAULT_CANARY_PROFILE == "profile.sandbox-canary"
|
||
|
|
assert DEFAULT_COMPOSE_PROFILE == "profile.compose-e2e"
|