Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
beat.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
beat
beat.core
Commits
e56b22e3
Commit
e56b22e3
authored
Mar 20, 2019
by
Samuel GAIST
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test][docker_databases_provider] Import simplejson as json to make it easy to swap
parent
655189fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
beat/core/test/test_docker_databases_provider.py
beat/core/test/test_docker_databases_provider.py
+2
-2
No files found.
beat/core/test/test_docker_databases_provider.py
View file @
e56b22e3
...
...
@@ -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
=
simple
json
.
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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment