Skip to content

Commit 265b0c0

Browse files
committed
Fix tests
1 parent bcc8801 commit 265b0c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Configuration
88
# -------------
99

10-
$(eval venvpath := .venv_util)
10+
$(eval venvpath := .venv)
1111
$(eval pip := $(venvpath)/bin/pip)
1212
$(eval python := $(venvpath)/bin/python)
1313
$(eval pytest := $(venvpath)/bin/pytest)

tests/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def test_load_function():
149149
# Load invalid function, function name does not exist in "funcfile"
150150
with pytest.raises(AttributeError) as excinfo:
151151
load_function(name='unknown', py_mod=py_mod)
152-
assert re.match("Function 'unknown' does not exist in '{}c?'".format(funcfile), str(excinfo.value))
152+
assert re.match("Function 'unknown' does not exist in '.+{}c?'".format(funcfile), str(excinfo.value))
153153

154154

155155
def test_get_resource_content():

0 commit comments

Comments
 (0)