[CI] use pytest for mr sanitizer tests
Pure CI change.
We currently run the sanity jobs in the MR with self_test.py. Switching to pytest allows to have the report integrate into gitlab. This is also a preparatory step for porting the sanitizer tests to the BASOP repo.