(self)
| 224 | assert ctx.get("custom_key") == "custom_value" |
| 225 | |
| 226 | def test_get_from_extra(self): |
| 227 | ctx = ApplicationContext.create() |
| 228 | ctx.set("my_extra", 123) |
| 229 | assert ctx.get("my_extra") == 123 |
| 230 | |
| 231 | |
| 232 | # --------------------------------------------------------------------------- # |