Commit Graph

265 Commits

Author SHA1 Message Date
John Helmert
c5f1500ffb Fix tests for modifications made last commit
SubredditContent now has a constructor that uses a config object, this
simply fixes all the constructions of SubredditContent that caused
errors.
2019-06-29 17:02:16 -05:00
John Helmert
4f37dd1710 Add full test coverage for Content.humanize_timestamp 2019-06-12 21:00:02 -05:00
John Helmert
c30e2559f7 Add test for OSX copy() to clipboard 2019-06-12 19:49:05 -05:00
John Helmert
942e651654 Update test cassette User-Agents to tuir 2019-06-09 21:00:09 -05:00
John Helmert
7e9455b4ca Rename rtv to tuir 2019-06-09 19:31:35 -05:00
John Helmert
1c0afc8a55 More adjustments for new maintainership 2019-06-09 11:05:37 -05:00
John Helmert
7423a43e50 Make the clipboard command user-configurable
Add config item clipboard_cmd, with a default of 'pbcopy w' on Darwin
and 'xclip' on everything else. This will allow the user to use any
command for the clipboard, including 'wl-copy' for Wayland (addressing
issue #693 on Github). With his change, significant simplifications
could be made to clipboard.py - the copy_*() functions have been removed
and combined into copy().

With this simplification, the old OSX test is obsolete, and new OSX
tests are needed (need a way to simulate sys.platform).
2019-06-08 15:18:15 -05:00
Michael Lazar
7a71023a40 Large commit to add support for browsing the inbox 2019-02-27 02:04:45 -05:00
Michael Lazar
3f7c9410a6 Update terminal tests 2019-02-18 21:24:11 -05:00
Michael Lazar
05297eb59b Prevent stripping newlines in the middle of markdown submissions 2019-02-13 10:10:24 -05:00
Michael Lazar
c019a62a72 Removing platform dependent tests because they're hard to keep up to date and not that useful 2019-02-03 00:33:34 -05:00
Michael Lazar
8042f3e1f0 Added tests, minor refactoring 2019-02-03 00:24:38 -05:00
Michael Lazar
6796ee7415 Fix gfycat mime parser 2019-02-02 22:05:19 -05:00
Michael Lazar
465d37095a Adding test 2019-02-02 19:15:51 -05:00
Michael Lazar
a727110e40 Adding test cases 2019-02-02 19:02:38 -05:00
Michael Lazar
b21cb6d018 Merge pull request #616 from woorst/open_links_previous
Previous page link in open links prompt.
2018-10-23 10:34:00 -04:00
Gabriel Le Breton
fe395ae2fd Increase code coverage for theme errors 2018-10-19 12:33:19 -04:00
Michael Lazar
81e90fccfb Making the user page titles a little fancier 2018-10-02 00:51:10 -04:00
Michael Lazar
510f3538da Merge branch 'user_pages' of https://github.com/woorst/rtv into woorst-user_pages 2018-10-01 23:56:06 -04:00
woorst
7d14494dcf Updated tests for more links per open link prompt 2018-10-01 20:09:47 -04:00
Michael Lazar
19f246adac Added welcome message when logging in for the first time with autologin disabled 2018-10-01 01:45:33 -04:00
Michael Lazar
e4cced27eb Adding tests and some minor tweaks to structure. 2018-10-01 00:45:09 -04:00
mac1202
9add15cc9d Update test_mime_parsers.py 2018-09-25 17:52:44 +02:00
woorst
c217483e86 remove obsolete cassettes 2018-09-16 15:02:13 -04:00
woorst
0d9de13b83 new and updated cassettes 2018-09-16 14:59:53 -04:00
woorst
a00685e95a display gold counts on gild comments/submissions 2018-09-15 23:45:55 -04:00
woorst
e6157c5e80 add test for user pages 2018-09-15 18:06:31 -04:00
Michael Lazar
61853da8e8 Fixing test 2018-08-12 21:53:05 -04:00
Sam Tebbs
4479478492 Added refresh to footer in test 2018-08-09 21:22:21 +01:00
Michael Lazar
708b436ff1 Changed the help text format when editing comments & submissions 2018-08-05 21:28:05 -04:00
Michael Lazar
f0f4527981 Fixing test 2018-08-05 00:34:34 -04:00
Michael Lazar
542c660b67 Check if a post is archived before attempting to vote on it 2018-08-05 00:32:11 -04:00
Michael Lazar
b164b5a6ba Fixing mime parsers (#580)
mime parser cleanup
2018-08-04 23:24:32 -04:00
Michael Lazar
b8fb0cf418 Fixing tests and adding cassettes 2018-08-04 01:42:43 -04:00
Edridge D'Souza
ccfff97ee6 Fixed the menu bar in the tests and commented out broken tests
Commented out any tests for the gilded method that would require an existing cassette using the gilded sort. Once we have a cassette for that, I believe we can uncomment these lines and (hopefully) have them work.
2018-07-16 18:08:35 -04:00
Edridge D'Souza
93bf150780 Trying again to fix tests 2018-07-16 17:29:30 -04:00
Edridge D'Souza
95d184bfbe Blank commit 2018-07-16 17:18:59 -04:00
Edridge D'Souza
624a0dc7c8 Added missing comma 2018-07-16 17:13:41 -04:00
Edridge D'Souza
ad97b8ff9a Attempt to fix the tests
An attempt to fix the broken tests
2018-07-16 16:52:08 -04:00
Michael Lazar
67b6b085f0 Merge branch 'master' into mime_parser_vimeo 2018-06-24 18:33:19 -04:00
woorst
d6a4cd0504 Add mime parser: vimeo.com 2018-06-20 23:20:14 -04:00
woorst
4abc0bb6d0 Add mime parser: streamja.com 2018-06-20 22:44:31 -04:00
Michael Lazar
9614dc90fe Added a new test for hiding a submission 2018-06-03 00:21:29 -04:00
Michael Lazar
26bfeb8802 Fixed passing invalid argument to pytest.raises 2018-05-23 12:22:50 -04:00
Michael Lazar
100515769c PyLint and PEP8 formatting 2018-04-02 18:28:21 -04:00
Michael Lazar
be4c9c125f Sending OAuth Server errors to the log instead of printing to stdout 2018-03-20 14:04:03 -04:00
Donovan Glover
f8ec571c3b Add --no-flash option to rtv, fixes #478 2018-01-28 17:00:44 -05:00
Michael Lazar
d20ed5ee33 Fixing test 2018-01-21 19:52:58 -05:00
Michael Lazar
47e5414be0 Fixing error handling for the inbox command 2018-01-21 19:38:35 -05:00
Caleb Perkins
45ed75a6e0 Use XDG_DATA_HOME for history and refresh token. 2017-12-26 22:09:37 -08:00