Ver Fonte

HUE-8737 [notebook] Fix notebook unit test in py3

Ying Chen há 5 anos atrás
pai
commit
ee63cab8f7
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      desktop/libs/notebook/src/notebook/tests.py

+ 1 - 1
desktop/libs/notebook/src/notebook/tests.py

@@ -481,7 +481,7 @@ class TestNotebookApiMocked(object):
         'snippet': json.dumps(json.loads(notebook_json)['snippets'][0]),
         'format': 'csv'
     })
-    content = "".join(response)
+    content = b"".join(response)
     assert_true(len(content) > 0)