Replies: 2 comments
-
I would try hardcoding it. You have a self finding path for the location, which could be doing something weird. I would just change it to the exact file path of your machine folder (not tests folder). Then see if it runs. If not, here is a list of assertions: https://developer.missionpinball.org/en/dev/api/MpfBcpTestCase.html Try looking through there to find a different assertion that might not fail. |
Beta Was this translation helpful? Give feedback.
0 replies
-
So the problem was that I was using the wrong method signature:
Should have been this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I'm currently having an issue running the unit test where my assertions are failing. I'm trying to run my unit tests against my config file in the config directory.
I have the following file structure:
test_basic_game.py
codeI feel like I'm not correctly accessing the config file. I've seen how mpf-examples organizes their tests, but I rather not have a config file per test.
Beta Was this translation helpful? Give feedback.
All reactions