Files
galaxy/lib/galaxy_test/base/constants.py
T
John Chilton 88650448e9 Fix when setting sep2tabs but not to_posix_lines.
Previously sep2tabs would imply to_posix_lines even if that was explicitly set to false. I think this new behavior is what I intended and is more correct.
2021-11-12 10:21:55 -05:00

9 lines
350 B
Python

"""Just constants useful for testing across test types."""
# Following constants used by upload tests.
ONE_TO_SIX_WITH_SPACES = "1 2 3\n4 5 6\n"
ONE_TO_SIX_WITH_TABS = "1\t2\t3\n4\t5\t6\n"
ONE_TO_SIX_ON_WINDOWS = "1\t2\t3\r4\t5\t6\r"
ONE_TO_SIX_WITH_SPACES_ON_WINDOWS = "1 2 3\r4 5 6\r"
ONE_TO_SIX_WITH_TABS_NO_TRAILING_NEWLINE = "1\t2\t3\n4\t5\t6"