Explorar o código

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

Ying Chen %!s(int64=5) %!d(string=hai) anos
pai
achega
ee63cab8f7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)