Hill climbing | Excercise 6 error
EDIT: SOLVED!
I return a (in my opinion very) valid answer, which gives a valid result when pressing “run”. When I press “test” I eventually receive following error (Code in comments):
File "/usr/local/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
yield
File "/usr/local/lib/python3.8/unittest/case.py", line 676, in run
self._callTestMethod(testMethod)
File "/usr/local/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
method()
File "/app/test/test_main.py", line 18, in test_answer
main()
File "/app/tmc/utils.py", line 10, in fail
raise AssertionError(err)
Error: src.main.main does not exist!