Răsfoiți Sursa

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

Ying Chen 5 ani în urmă
părinte
comite
ee63cab8f7
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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)