def test_successful_outcome(tr_plugin):
    passed_outcome = plugin.PYTEST_TO_TESTRAIL_STATUS['passed']
    assert plugin.get_test_outcome('passed') == passed_outcome
def test_failed_outcome(tr_plugin):
    assert plugin.get_test_outcome('failed') == plugin.PYTEST_TO_TESTRAIL_STATUS['failed']