test: rename assert_matches_exactly -> assert_full_match

More precise, needed in a later commit.
This commit is contained in:
Erik Arvstedt
2020-08-20 13:12:05 +02:00
parent 72000b4a99
commit 7367446761
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ def assert_matches(cmd, regexp):
raise Exception(f"Pattern '{regexp}' not found in '{out}'")
def assert_matches_exactly(cmd, regexp):
def assert_full_match(cmd, regexp):
out = succeed(cmd)
if not re.fullmatch(regexp, out):
raise Exception(f"Pattern '{regexp}' doesn't match '{out}'")