Show More
@@ -34,6 +34,7 b' import pytest' | |||
|
34 | 34 | import logging |
|
35 | 35 | |
|
36 | 36 | from rhodecode import events |
|
37 | from rhodecode.lib.str_utils import safe_bytes | |
|
37 | 38 | from rhodecode.model.db import Integration, UserRepoToPerm, Permission, \ |
|
38 | 39 | UserToRepoBranchPermission, User |
|
39 | 40 | from rhodecode.model.integration import IntegrationModel |
@@ -76,7 +77,7 b' def rcextensions(request, db_connection,' | |||
|
76 | 77 | return |
|
77 | 78 | |
|
78 | 79 | request.addfinalizer(rcextensions_path.remove) |
|
79 | init_path.write_binary(init_content, ensure=True) | |
|
80 | init_path.write_binary(safe_bytes(init_content), ensure=True) | |
|
80 | 81 | |
|
81 | 82 | |
|
82 | 83 | @pytest.fixture(scope="module") |
General Comments 0
You need to be logged in to leave comments.
Login now