Skip to content
Snippets Groups Projects
Commit e56b22e3 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][docker_databases_provider] Import simplejson as json to make it easy to swap

parent 655189fd
No related branches found
No related tags found
1 merge request!64Factorize simplejson
......@@ -40,7 +40,7 @@ import os
import sys
import logging
import unittest
import simplejson
import simplejson as json
import tempfile
import shutil
import zmq
......@@ -128,7 +128,7 @@ class TestDatabasesProvider(unittest.TestCase):
def start_databases_provider(self, configuration):
with open(os.path.join(self.working_dir, "configuration.json"), "wb") as f:
data = simplejson.dumps(configuration, indent=4)
data = json.dumps(configuration, indent=4)
f.write(data.encode("utf-8"))
working_prefix = os.path.join(self.working_dir, "prefix")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment