def test_raises_exception_with_msg(driver):
    with pytest.raises(NoSuchElementException) as excinfo:
        driver.get_elm('some_non_exists_id')
    assert str(excinfo.value) in 'some_non_exists_id'
dataset/ETHPy150Open horejsek/python-webdriverwrapper/tests/exceptions.py/test_raises_exception_with_msg/swapped operands of `in`