(self)
| 301 | assert ctx.get("new_key") == "new_val" |
| 302 | |
| 303 | def test_update_mixed(self): |
| 304 | ctx = ApplicationContext.create() |
| 305 | ctx.update(model="big-model", custom_flag=True) |
| 306 | assert ctx.model == "big-model" |
| 307 | assert ctx.get("custom_flag") is True |
| 308 | |
| 309 | |
| 310 | # --------------------------------------------------------------------------- # |