tests: Adjust workaround for windows
This commit is contained in:
parent
156de37c8a
commit
d45b68a98d
|
|
@ -83,7 +83,7 @@ def test_unused_func(vultdir):
|
|||
def foo():
|
||||
pass
|
||||
""")
|
||||
msg = "*/foo.py:2: unused function 'foo' (60% confidence)"
|
||||
msg = "*test_unused_func*foo.py:2: unused function 'foo' (60% confidence)"
|
||||
msgs = vultdir.run()
|
||||
assert len(msgs) == 1
|
||||
assert utils.pattern_match(pattern=msg, value=msgs[0])
|
||||
|
|
|
|||
Loading…
Reference in New Issue