Skip to content
Snippets Groups Projects
Commit 054bfd37 authored by Erik Reid's avatar Erik Reid
Browse files

pep8

parent 8ca16b94
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,6 @@ def _main(router_fqdn: str, app_config_params: dict):
netconf_doc = juniper.get_interface_info_ncrpc(router_fqdn)
netconf_timestamp = datetime.now()
influx_params = app_config_params['influx']['brian-counters']
points = _brian_points(
router_fqdn=router_fqdn,
......
......@@ -73,10 +73,12 @@ def test_validate_logical_counters_schema(router_fqdn, ifc_netconf_rpc):
for ifc in juniper.logical_interface_counters(doc):
jsonschema.validate(ifc, interface_stats.LOGICAL_INTERFACE_COUNTER_SCHEMA)
def poller_interfaces():
with open(os.path.join(DATA_DIRNAME, 'poller-interfaces.json')) as f:
return json.load(f)
@pytest.fixture
def polled_interfaces(mocked_poller_interfaces):
polled = {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment