Skip to content

Commit

Permalink
Fix tests for old Python versions (<3.6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby McLaughlin committed Jun 7, 2018
1 parent c3fd963 commit 2451b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ def __init__(self):
self.image = 'docker.elastic.co/beats/%s:%s' % (self.name, self.tag)

self.docker_metadata = json.loads(
run(['docker', 'inspect', self.image], stdout=PIPE).stdout)[0]
run(['docker', 'inspect', self.image], stdout=PIPE).stdout.decode())[0]

return Beat()

0 comments on commit 2451b21

Please sign in to comment.