File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33## [ Unreleased]
44### Added
55- Logging on Behave "error" status, by @HardNorth
6+ ### Changed
7+ - Unknown statuses now handled as ` FAILED ` , by @HardNorth
68
79## [ 5.1.0]
810### Added
Original file line number Diff line number Diff line change 2323from reportportal_client import BatchedRPClient , RPClient , ThreadedRPClient
2424from reportportal_client .logs import MAX_LOG_BATCH_PAYLOAD_SIZE
2525
26- from behave_reportportal .behave_agent import BehaveAgent , create_rp_service
26+ from behave_reportportal .behave_agent import BehaveAgent , convert_to_rp_status , create_rp_service
2727from behave_reportportal .config import Config , LogLayout
2828from behave_reportportal .utils import Singleton
2929
@@ -52,11 +52,11 @@ def clean_instances():
5252 ("passed" , "PASSED" ),
5353 ("skipped" , "SKIPPED" ),
5454 ("failed" , "FAILED" ),
55- ("xyz" , "PASSED " ),
55+ ("xyz" , "FAILED " ),
5656 ],
5757)
5858def test_convert_to_rp_status (status , expected ):
59- actual = BehaveAgent . convert_to_rp_status (status )
59+ actual = convert_to_rp_status (status )
6060 assert actual == expected , f"Incorrect status:\n Actual: { actual } \n Expected:{ expected } "
6161
6262
You can’t perform that action at this time.
0 commit comments