# HG changeset patch # User Marcin Kuzminski # Date 2017-07-17 21:21:01 # Node ID 02c0c21b99ffc0756f9be19106105183887b1fd4 # Parent 0c7b3df669f06b219f872811f270773fcceb44b7 tests: no-newline generator should also replace \r diff --git a/rhodecode/tests/__init__.py b/rhodecode/tests/__init__.py --- a/rhodecode/tests/__init__.py +++ b/rhodecode/tests/__init__.py @@ -258,6 +258,7 @@ def no_newline_id_generator(test_name): org_name = test_name test_name = test_name\ .replace('\n', '_N') \ + .replace('\r', '_N') \ .replace('\t', '_T') \ .replace(' ', '_S')