-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass msg_store
and node
to FileState
#6558
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like it broke the config functional tests (report not generated anymore ?). I agree with the refactoring and deprecation in general.
(I think self.file_state = FileState("BaseState", self.msgs_store)
might be defined before we needs it so it's not Optional and so it's defined in the __init__
? I agree it's strange to do it like this.)
I don't really know why this breaks 😓 I think it has something to do with the mocking we do in the tests. For some reason not passing |
Pull Request Test Coverage Report for Build 2293322404
💛 - Coveralls |
Finally pass all tests on all platforms 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
and preferred name in
script/.contributors_aliases.json
Type of Changes
Description
Base change required for #6556.
Let's also make
modname
required. It's a bit strange that we create aFileState
before even encountering a file in the__init__
, but refactoring that is not part of my plan for now.