Skip to content

Commit 6afe8ee

Browse files
authored
Correct the filepaths in unit test (#222)
* point to the correct file and function * Revert "point to the correct file and function" This reverts commit 5714949. * fix filepaths pointed to by the unit test
1 parent 47292fe commit 6afe8ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aeolis/tests/test_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ class TestAeoLiSRunner:
100100

101101
def test_parse_callback_from_module(self):
102102
"""Test if the callback function can be loaded from a file"""
103-
runner = AeoLiSRunner("aeolis.txt")
104-
callback = runner.parse_callback("callback_example.py:mock_callback")
103+
runner = AeoLiSRunner("aeolis/tests/aeolis.txt")
104+
callback = runner.parse_callback("aeolis/tests/callback_example.py:mock_callback")
105105
assert callable(callback)
106106
assert callback.__name__ == "mock_callback"
107107
assert callback() == True

0 commit comments

Comments
 (0)