(self)
| 234 | |
| 235 | class explicit_root_ns: |
| 236 | def setup_method(self): |
| 237 | mod = load("explicit_root") |
| 238 | mod.ns.configure( |
| 239 | { |
| 240 | "key": "builtin", |
| 241 | "otherkey": "yup", |
| 242 | "subconfig": {"mykey": "myvalue"}, |
| 243 | } |
| 244 | ) |
| 245 | mod.ns.name = "builtin_name" |
| 246 | self.unchanged = Collection.from_module(mod) |
| 247 | self.changed = Collection.from_module( |
| 248 | mod, |
| 249 | name="override_name", |
| 250 | config={ |
| 251 | "key": "override", |
| 252 | "subconfig": {"myotherkey": "myothervalue"}, |
| 253 | }, |
| 254 | ) |
| 255 | |
| 256 | def inline_config_with_root_namespaces_overrides_builtin(self): |
| 257 | assert self.unchanged.configuration()["key"] == "builtin" |
nothing calls this directly
no test coverage detected