diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-26 23:09:37 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-10-26 23:22:57 +0100 |
| commit | eb723af5ce2787dd864c97d44767cbf9bc73076b (patch) | |
| tree | c23add298fa668b9d1b7b979088755ecb12bce10 /api/opendc/util/rest.py | |
| parent | 81003bf38eb5384f6b7f485b5186e1df4e7430b4 (diff) | |
Do not hardcode test ids inside tests
Diffstat (limited to 'api/opendc/util/rest.py')
| -rw-r--r-- | api/opendc/util/rest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/opendc/util/rest.py b/api/opendc/util/rest.py index abd2f3de..c9e98295 100644 --- a/api/opendc/util/rest.py +++ b/api/opendc/util/rest.py @@ -138,4 +138,4 @@ class Response: if self.content is not None: data['content'] = self.content - return json.dumps(data) + return json.dumps(data, default=str) |
