Files
tuir/tests
John Helmert 446f50be28 Simplify format string handling
Instead of using a format that is stored in a three-wide tuple in each
SubredditPage, the displaying is done at display-time. Functionality
related to creating the format has been removed. Additionally, this
simplification makes it possible for correctly spacing the %F format
specifier. Previously, it couldn't easily look ahead to check if a space
was necessary; now, the spacing should be always be correct for any
combination of flair-like information and consecutive spaces will not be
printed to ensure the format isn't made to look strange if a piece of
data is missing.

Tests have also been updated to reflect changes in the SubredditPage
class. The SubredditPage._create_format test has been removed, and much
of its functionality is now tested in the test for
SubredditPage._draw_item_format.

Related to #3
2019-08-19 19:00:54 -05:00
..
2019-06-09 19:31:35 -05:00
2019-07-01 21:21:55 -05:00
2019-06-09 19:31:35 -05:00
2019-06-09 19:31:35 -05:00
2019-06-09 19:31:35 -05:00
2019-06-09 19:31:35 -05:00
2019-06-09 19:31:35 -05:00
2019-06-09 19:31:35 -05:00
2019-06-09 19:31:35 -05:00
2019-06-09 19:31:35 -05:00