test: rename assert_matches_exactly -> assert_full_match
More precise, needed in a later commit.
This commit is contained in:
@@ -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}'")
|
||||
|
||||
Reference in New Issue
Block a user