Commit Graph

49 Commits

Author SHA1 Message Date
Michael Lazar
7a71023a40 Large commit to add support for browsing the inbox 2019-02-27 02:04:45 -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
woorst
a00685e95a display gold counts on gild comments/submissions 2018-09-15 23:45:55 -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
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
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
ad97b8ff9a Attempt to fix the tests
An attempt to fix the broken tests
2018-07-16 16:52:08 -04:00
Michael Lazar
c1f3eb447a Updating tests 2017-09-14 00:27:18 -04:00
Michael Lazar
8b63e1c5de Adding tests 2017-09-10 21:47:55 -04:00
Michael Lazar
982861560a Cherry picking backwards-compatible changes from the themes branch 2017-09-08 01:10:32 -04:00
Michael Lazar
7fbc02b4a0 Adding tests 2017-08-31 10:51:59 -04:00
Michael Lazar
97581a77a5 Allow navigating to comments from the prompt on the submission page 2017-08-30 01:53:39 -04:00
woorst
2c3b00b79a jump directly to parent/sibling comments in submission page 2017-07-19 10:13:17 -05:00
Michael Lazar
1c66c5662f Fixed tests 2017-05-10 21:40:40 -07:00
Michael Lazar
29584acd3a Code review refactoring 2017-05-09 18:20:52 -04:00
Josue Ortega
e9b597f65f Adds test for copy 2017-05-05 17:27:30 -06:00
Michael Lazar
92a221305c Added logging, fixed tests 2017-03-28 22:50:51 -07:00
Michael Lazar
e625beb638 Changed order-by shortcut to trigger on a single keystroke. #330 2016-12-27 21:34:08 -08:00
Michael Lazar
496fb849e1 Adding tests. 2016-10-11 22:53:26 -07:00
Michael Lazar
416ab3743d added _page suffix to page files. 2016-08-16 20:21:35 -07:00
Michael Lazar
bdbcb33db3 Fixed tests. 2016-08-15 21:42:28 -07:00
Michael Lazar
17425008b3 Adding general test coverage. 2016-08-10 01:32:02 -07:00
Michael Lazar
41726be658 Adding tests. 2016-08-06 01:06:48 -07:00
Michael Lazar
7a34c089b9 Raise NotImplemetedError. 2016-08-04 01:01:48 -07:00
Michael Lazar
c4f0e2389d Fixed tests. 2016-08-01 00:09:17 -07:00
Michael Lazar
0a03083e6b Minor formatting changes. 2016-07-31 19:55:06 -07:00
David Foucher
d141182333 Merge remote-tracking branch 'upstream/master' 2016-07-30 12:52:37 +02:00
Michael Lazar
ddb459cf56 Fixed a few bugs and added cassettes. 2016-07-26 01:06:44 -07:00
Michael Lazar
0dbb3459ed Added tests for the open_link method. 2016-07-26 00:43:42 -07:00
David Foucher
94dc86f915 Merge remote-tracking branch 'upstream/master'
Refactoring
2016-07-24 01:27:11 +02:00
Michael Lazar
aa29415fe1 Fixed a unit test. 2016-07-22 22:42:51 -07:00
David Foucher
5241079dba Add comment save test 2016-07-17 19:40:34 +02:00
David Foucher
bc0f921e1c Add saved comment in saved view and some tests 2016-07-17 17:01:17 +02:00
Michael Lazar
add11e9f22 Disable unit tests from deleting refresh token. 2016-07-15 21:53:14 -07:00
Matt Smith
749ad11171 Added urlview keybinding
1.  A shortcut of 'b' was used as the default binding for passing
comment body text to urlview (this is similar to the default of C-b in
the 'mutt' text email client)
2.  The `comment_urlview` SubmissionController function was added to
recieve the SUBMISSION_OPEN_IN_URLVIEWER keypress request.
3.  The `open_urlview` terminal function was added to handle the urlview
request.  It passes the comment body data to urlview via a Popen
process.
4.  A test case was added to ensure this new code path is executed
5.  Small formatting changes, mostly line length
2016-07-05 20:52:31 -07:00
Michael Lazar
d81c981dbf Updated tests. Updated log format. 2016-06-23 22:50:12 -07:00
Michael Lazar
a21fcc1e06 Fixed tests. 2016-04-21 01:02:43 -07:00
Michael Lazar
27395637a3 Added a test for not enough space to display comment. 2016-04-20 00:52:54 -07:00
Michael Lazar
51300e6ef8 Fixed pager test. 2016-03-03 20:20:02 -08:00
Michael Lazar
ffbd6c1dfd Working on adding pager. 2016-03-03 18:28:14 -08:00
Michael Lazar
c24c4669a4 Fixed tests. 2015-12-09 01:41:37 -08:00
Michael Lazar
329bfae1ec Added unit tests for banner. 2015-12-09 01:34:55 -08:00
Michael Lazar
5a0932f6d3 PEP8 fixes. 2015-12-03 00:20:20 -08:00
Michael Lazar
a7b789bfd9 Squashed commit of the following:
Updated the supported python versions list.
    Fixed regression in displaying xposts. #173.
    Fixing a few style things.
    Added a more robust test for the tornado handler.
    Trying without pytest-cov
    Updated travis for coverage.
    Remove python 3.2 support because no unicode literals, following what praw supports.
    "Side effect is not iterable."
    Added requirements for travis.
    Renamed travis file correctly.
    Adding test configurations, got tox working.
    Adding vcr cassettes to the repo.
    Renamed requirements files.
    Split up tests and cleaned up test names.
    Tests done, still one failure.
    Treat cassettes as binary to prevent bad merging.
    Fixed a few broken tests.
    Added a timeout to notifications.
    Prepping subreddit page.
    Finished submission page tests.
    Working on submission tests.
    Fixed vcr matching on urls with params, started submission tests.
    Log cleanup.
    Still trying to fix a broken test.
    -Fixed a few pytest bugs and tweaked logging.
    Still working on subscription tests.
    Finished page tests, on to subscription page.
    Finished content tests and starting page tests.
    Added the test refresh-token file to gitignore.
    Moved functional test file out of the repository.
    Continuing work on subreddit content tests.
    Tests now match module names, cassettes are split into individual tests for faster loading.
    Linter fixes.
    Cleanup.
    Added support for nested loaders.
    Added pytest options, starting subreddit content tests.
    Back on track with loader, continuing content tests.
    Finishing submission content tests and discovered snag with loader exception handling.
    VCR up and running, continuing to implement content tests.
    Playing around with vcr.py
    Moved helper functions into terminal and new objects.py
    Fixed a few broken tests.
    Working on navigator tests.
    Reorganizing some things.
    Mocked webbrowser._tryorder for terminal test.
    Completed oauth tests.
    Progress on the oauth tests.
    Working on adding fake tornado request.
    Starting on OAuth tool tests.
    Finished curses helpers tests.
    Still working on curses helpers tests.
    Almost finished with tests on curses helpers.
    Adding tests and working on mocking stdscr.
    Starting to add tests for curses functions.
    Merge branch 'future_work' of https://github.com/michael-lazar/rtv into future_work
    Refactoring controller, still in progress.
    Renamed auth handler.
    Rename CursesHelper to CursesBase.
    Added temporary file with a possible template for func testing.
    Mixup between basename and dirname.
    Merge branch 'future_work' of https://github.com/michael-lazar/rtv into future_work
    py3 compatability for mock.
    Beginning to refactor the curses session.
    Started adding tests, improved unicode handling in the config.
    Cleanup, fixed a few typos.
    Major refactor, almost done!.
    Started a config class.
    Merge branch 'master' into future_work
    The editor now handles unicode characters in all situations.
    Fixed a few typos from previous commits.
    __main__.py formatting.
    Cleaned up history logic and moved to the config file.
2015-12-02 22:37:50 -08:00