(self)
| 120 | assert self.c.config == {} |
| 121 | |
| 122 | def setdefault(self): |
| 123 | assert self.c.setdefault("foo") == "bar" |
| 124 | assert self.c.biz.setdefault("baz") == "boz" |
| 125 | assert self.c.setdefault("notfoo", "notbar") == "notbar" |
| 126 | assert self.c.notfoo == "notbar" |
| 127 | assert self.c.biz.setdefault("otherbaz", "otherboz") == "otherboz" |
| 128 | assert self.c.biz.otherbaz == "otherboz" |
| 129 | |
| 130 | def update(self): |
| 131 | self.c.update({"newkey": "newval"}) |