| 7 | |
| 8 | |
| 9 | class StubDataService: |
| 10 | def __init__(self): |
| 11 | self.ram = {} |
| 12 | self.conf = {} |
| 13 | self.Access = BaseWorld.Access |
| 14 | |
| 15 | def apply_config(self, prop, config): |
| 16 | self.conf[prop] = config |
| 17 | |
| 18 | def get_config(self, prop=None, name=None): |
| 19 | if prop in self.conf: |
| 20 | return self.conf[prop] |
| 21 | |
| 22 | |
| 23 | class TestSchema(ma.Schema): |
no outgoing calls