From dfb730b0a5038ec5ffc17742c08194f9377c92f7 Mon Sep 17 00:00:00 2001 From: Thomas Ballinger Date: Wed, 30 Dec 2020 15:40:11 -0500 Subject: [PATCH] fix tests attempt #1 --- tests/test_other.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_other.py b/tests/test_other.py index cab7c4af1d956..fd8d44b5b777d 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -2229,11 +2229,12 @@ def test_file_packager_unicode(self): create_test_file(full, 'data') proc = self.run_process([FILE_PACKAGER, 'test.data', '--preload', full], stdout=PIPE, stderr=PIPE) assert len(proc.stdout), proc.stderr - assert unicode_name in proc.stdout, proc.stdout + assert json.dumps(unicode_name) in proc.stdout, proc.stdout print(len(proc.stderr)) def test_file_packager_directory_with_single_quote(self): single_quote_name = "direc'tory" + ensure_dir(single_quote_name) full = os.path.join(single_quote_name, 'data.txt') create_test_file(full, 'data') proc = self.run_process([FILE_PACKAGER, 'test.data', '--preload', full], stdout=PIPE, stderr=PIPE)