-
Notifications
You must be signed in to change notification settings - Fork 217
Closed
Description
I've noticed there is no test about flavors, so I wanted to add a simple one:
def test_flavors(self):
self.config["general"]["interactive"] = False
self.config["flavor"] = {
"work": {"targets": ["my_service", "my_gitlab"], "interactive": False},
"personal": {"targets": ["my_kan"], "interactive": False},
}
conf = self.validate()
This breaks in validate_config. I checked, and this was already the case before I migrated the code to pydantic v2.
Maybe I'm wrong with my test, and the flavors are not passed like that ? I think it's the case, but I'm not sure.
We should add some tests about flavors anyway