generated from coulomb/repo-seed
Add Core Hub staging deployment profile
This commit is contained in:
13
tests/test_staging_profile.py
Normal file
13
tests/test_staging_profile.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import importlib.util
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def test_staging_profile_check_passes() -> None:
|
||||
checker = Path(__file__).resolve().parents[1] / "scripts" / "check_staging_profile.py"
|
||||
spec = importlib.util.spec_from_file_location("check_staging_profile", checker)
|
||||
assert spec is not None
|
||||
assert spec.loader is not None
|
||||
module = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(module)
|
||||
|
||||
assert module.main() == 0
|
||||
Reference in New Issue
Block a user