Skip to content

Commit

Permalink
Address lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
jomey committed Apr 24, 2021
1 parent 22bb95e commit dce09c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/data/hrrr/test_file_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def setUp(self):

subject = FileLoader(
file_dir=RMETestCase.hrrr_dir.as_posix(),
config = tests.helpers.LOG_ERROR_CONFIG
config=tests.helpers.LOG_ERROR_CONFIG
)
subject.start_date = RMETestCase.START_DATE
subject.end_date = RMETestCase.END_DATE
Expand Down
5 changes: 4 additions & 1 deletion tests/helpers.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import os

LOG_ERROR_CONFIG = {
'logging': { 'log_level': 'ERROR' }
'logging': {
'log_level': 'ERROR',
}
}


def skip_external_http_request():
return 'WFR_SKIP_EXTERNAL_REQUEST_TEST' in os.environ

0 comments on commit dce09c4

Please sign in to comment.