Skip to content

Commit

Permalink
fix filepaths pointed to by the unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
niketagrawal committed Aug 19, 2024
1 parent 6e448a3 commit 2dd7f80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aeolis/tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ class TestAeoLiSRunner:

def test_parse_callback_from_module(self):
"""Test if the callback function can be loaded from a file"""
runner = AeoLiSRunner("aeolis.txt")
callback = runner.parse_callback("callback_example.py:mock_callback")
runner = AeoLiSRunner("aeolis/tests/aeolis.txt")
callback = runner.parse_callback("aeolis/tests/callback_example.py:mock_callback")
assert callable(callback)
assert callback.__name__ == "mock_callback"
assert callback() == True
Expand Down

0 comments on commit 2dd7f80

Please sign in to comment.