Skip to content

Commit c440e42

Browse files
committed
fix flake8 findings
Signed-off-by: hwassman <[email protected]>
1 parent 7d06105 commit c440e42

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/test_confgenerator.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ def my_setup():
2121
'logFile': 'zserver.log'}
2222

2323
attr1 = {'port': 4242, 'prometheus': 9250, 'rawCounters': True, 'protocol': 'http', 'enabled': True,
24-
'username': 'scale_admin', 'server': 'localhost',
25-
'serverPort': 9980, 'retryDelay': 60, 'apiKeyName': 'scale_grafana',
26-
'apiKeyValue': 'c0a910e4-094a-46d8-b04d-c2f73a43fd17', 'caCertPath': False,
27-
'includeDiskData': False, 'logPath': '/var/log/ibm_bridge_for_grafana', 'logLevel': 10,
28-
'logFile': 'zserver.log'}
24+
'username': 'scale_admin', 'server': 'localhost',
25+
'serverPort': 9980, 'retryDelay': 60, 'apiKeyName': 'scale_grafana',
26+
'apiKeyValue': 'c0a910e4-094a-46d8-b04d-c2f73a43fd17', 'caCertPath': False,
27+
'includeDiskData': False, 'logPath': '/var/log/ibm_bridge_for_grafana', 'logLevel': 10,
28+
'logFile': 'zserver.log'}
2929

3030
attr1['password'] = pwFile
3131

@@ -113,6 +113,7 @@ def test_case02():
113113
assert len(resp) > 0
114114
assert "password_file" in resp
115115

116+
116117
@with_setup(my_setup)
117118
def test_case03():
118119
with mock.patch('source.metadata.MetadataHandler._MetadataHandler__initializeTables') as md_init:

0 commit comments

Comments
 (0)