- Fix up free tier on the service object, use it only on dump not create/update in marshmallow

- Ensure tests leave config as was after a test run that alters free tier quantity
This commit is contained in:
Martyn Inglis
2017-06-07 09:58:57 +01:00
parent cad195949a
commit d97c7c8e56
4 changed files with 274 additions and 259 deletions

View File

@@ -115,6 +115,7 @@ def set_config(app, name, value):
old_val = app.config.get(name)
app.config[name] = value
yield
print(app.config)
app.config[name] = old_val