mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-01 18:47:48 +00:00
coding style: autopep --in-place --recursive --jobs 4 --max-line-length 120 gnpy/ tests/
Change-Id: I2f0fca5aa1314f9bb546a3e6dc712a42580cd562
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import json, pytest
|
||||
import json
|
||||
import pytest
|
||||
from pathlib import Path
|
||||
|
||||
from gnpy.core.parameters import SimParams
|
||||
@@ -11,6 +12,7 @@ from gnpy.core.elements import Fiber
|
||||
TEST_DIR = Path(__file__).parent
|
||||
DATA_DIR = TEST_DIR / 'data'
|
||||
|
||||
|
||||
def test_sim_parameters():
|
||||
f = open(DATA_DIR / 'test_sim_params.json')
|
||||
j = json.load(f)
|
||||
|
||||
Reference in New Issue
Block a user