mirror of
https://github.com/Telecominfraproject/oopt-gnpy-api.git
synced 2025-10-30 01:22:26 +00:00
refactor: API now rely on gnpy function without re-implementation
Change-Id: Ib71f62f74eaa9fd87606a977f1f2c830b71668d9
This commit is contained in:
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user