diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-04-22 16:02:58 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-04-28 10:16:55 -0400 |
commit | 25ccc0eab1c1c1cbf32e109be727ffdd79413a70 (patch) | |
tree | 4e9e7bfb798f955b7ed06f6af96ed32613a96364 /tests/report_tests | |
parent | 1d0729a9dcfe3f3cebb961114c9bc05136cf8cfb (diff) | |
download | sos-25ccc0eab1c1c1cbf32e109be727ffdd79413a70.tar.gz |
[tests] Use re.search for assertOutput(Not)Contains
Standardizes the `assertOutputContains` and `assertOutputNotContains`
methods to use `re.search()`, instead of separate parsing methods.
`search()` replaces `match()` for efficiency purposes against the
collected output.
Related: #2507
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests/report_tests')
0 files changed, 0 insertions, 0 deletions