from __future__ import absolute_import, division, print_function

import subprocess
import os

def test_function():
    cmd1 = 'tests/test_huckle_pull.sh'
    p1 = subprocess.Popen(cmd1.split(), stdout=subprocess.PIPE)
    out, err = p1.communicate()

    assert('{\n  "hello": "world"\n}' in out)

@@ -282,16 +282,32 @@
 rld%22%5Cn%7D'
+.encode('utf-8')
  in out)

fix comparison between str and bytes for python 3 compatibility