Files
freeipa/ipatests/test_webui
Florence Blanc-Renaud f43dab3b78 webui tests: fix assertion in test_subid.py
The test wants to check the error related to an
exception obtained inside a "with pytest.raises" instruction.
The object is an ExceptionInfo and offers a match method
to check the content of the string representation.
Use this match() method instead of str(excinfo) which now
returns
'<ExceptionInfo NoSuchElementException() tblen=10>'

Fixes: https://pagure.io/freeipa/issue/9282

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Mohammad Rizwan Yusuf <myusuf@redhat.com>
2022-12-01 11:06:41 +01:00
..
2018-05-31 13:05:05 +02:00
2016-03-11 11:52:25 +01:00
2017-03-14 10:40:10 +01:00
2013-07-16 13:15:59 +02:00
2018-11-13 13:37:58 +01:00

http://www.freeipa.org/page/Web_UI_Integration_Tests