refactor: API now rely on gnpy function without re-implementation

Change-Id: Ib71f62f74eaa9fd87606a977f1f2c830b71668d9
This commit is contained in:
Renato Ambrosone
2025-03-25 16:04:49 +01:00
parent 6637ca8315
commit e48f524d1a
24 changed files with 280 additions and 20 deletions

View File

@@ -12,15 +12,6 @@ YANG_DIR = Path(__file__).parent.parent / 'gnpyapi' / 'yang'
SAMPLE_DIR = Path(__file__).parent.parent / 'samples'
def test_sample():
"""Just for the ci
"""
res = subprocess.run(['python', SAMPLE_DIR / 'fake_sample.py'],
stdout=subprocess.PIPE, check=True)
if res.returncode != 0:
assert False, f'gnpy call failed: exit code {res.returncode}'
def test_pyang():
"""Verify that yang models pss pyang
"""