fix: restore cross-platform quality gate
This commit is contained in:
@@ -1567,7 +1567,14 @@ def test_capability_audit_scans_registry_and_local_sources() -> None:
|
||||
assert audit['local_open_source']['source_count'] >= 3
|
||||
assert any(source['name'] == 'dashaflow' for source in audit['local_open_source']['sources'])
|
||||
assert all(gap.get('command') != 'varga-full' for gap in audit['priority_gaps'])
|
||||
assert audit['surfaces']['app_routes'] == ['admin/codes', 'home', 'login']
|
||||
assert audit['surfaces']['app_routes'] == [
|
||||
'admin/codes',
|
||||
'admin/packages',
|
||||
'admin/payments',
|
||||
'admin/users',
|
||||
'home',
|
||||
'login',
|
||||
]
|
||||
assert set(audit['surfaces']['app_visible_topics']) == {
|
||||
'Birth Rectification',
|
||||
'Case Validation',
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
from __future__ import annotations
|
||||
import json
|
||||
from pathlib import Path
|
||||
import sys, os, pytest
|
||||
|
||||
SCRIPTS = os.path.join(os.path.dirname(__file__), '..', 'scripts')
|
||||
@@ -221,8 +222,9 @@ class TestDrikBala:
|
||||
|
||||
class TestShadbalaFull:
|
||||
def test_shadbala_module_exposes_reference_constants_path(self):
|
||||
assert SHADBALA_CONSTANTS_PATH.endswith('references/shat_bala_constants.json')
|
||||
assert os.path.exists(SHADBALA_CONSTANTS_PATH)
|
||||
constants_path = Path(SHADBALA_CONSTANTS_PATH).resolve()
|
||||
assert constants_path.parts[-2:] == ('references', 'shat_bala_constants.json')
|
||||
assert constants_path.exists()
|
||||
|
||||
def test_static_shadbala_constants_are_loaded_from_reference_json(self):
|
||||
constants = _shadbala_constants()
|
||||
|
||||
Reference in New Issue
Block a user