Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
robnagler committed Sep 26, 2024
1 parent 6c6350f commit 275b07c
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions tests/parse_error_log_test.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# -*- coding: utf-8 -*-
"""Parsing of an error run.log
:copyright: Copyright (c) 2019 RadiaSoft LLC. All Rights Reserved.
:license: http://www.apache.org/licenses/LICENSE-2.0.html
"""
from __future__ import absolute_import, division, print_function
import pytest

import os


def setup_module(module):
os.environ.update(
PYKERN_PKCONFIG_DEV_MODE="0",
)


def test_runError(fc):
from pykern import pkunit
from pykern.pkdebug import pkdc, pkdp, pkdlog
Expand Down Expand Up @@ -50,7 +54,7 @@ def test_parse_python_errors():
"""
pkeq(
job_cmd._parse_python_errors(err),
"Estimated FAI output too large.\n"
"Reduce particle count or number of runs,\n"
"or increase diagnostic interval.",
"""Estimated FAI output too large.
Reduce particle count or number of runs,
or increase diagnostic interval.""",
)

0 comments on commit 275b07c

Please sign in to comment.