Loading tests/unit/core/test_generate.py +3 −5 Original line number Diff line number Diff line Loading @@ -87,10 +87,8 @@ def test_generate_single_error(dotsbws_error_result, caplog, parser): if 'Keeping 0/1 read lines from {}'.format(dd) in record.getMessage(): break else: # FIXME: what was intended to be here? assert None is None # assert None, 'Unable to find log line indicating 0 success ' \ # 'results in data file' assert None, 'Unable to find log line indicating 0 success ' \ 'results in data file' assert 'No recent results' in caplog.records[-1].getMessage() Loading Loading
tests/unit/core/test_generate.py +3 −5 Original line number Diff line number Diff line Loading @@ -87,10 +87,8 @@ def test_generate_single_error(dotsbws_error_result, caplog, parser): if 'Keeping 0/1 read lines from {}'.format(dd) in record.getMessage(): break else: # FIXME: what was intended to be here? assert None is None # assert None, 'Unable to find log line indicating 0 success ' \ # 'results in data file' assert None, 'Unable to find log line indicating 0 success ' \ 'results in data file' assert 'No recent results' in caplog.records[-1].getMessage() Loading