about summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix test_py2_compat formattingtoonn2020-11-111-0/+1
|
* Shortcut py2 incompatible pytest teststoonn2020-11-111-0/+11
| | | | | | Three of our pytest tests aren't compatible with python 2 by returning early from these testcases and always making them pass, we avoid false negatives in CI results.
* Apply some PEP8 love to the pylint module and teststoonn2020-07-052-20/+17
|
* Implement python 2 compatibility checkstoonn2020-07-053-0/+287
| | | | | | | | | We have been stuck on pylint <2 for a long time now because it dropped some of the python 2 lints we rely on. We maintain compatibility with python 2.6+ and 3.5+ and a lack of lints makes especially the former much harder. Incompatibilities had already snuck in in the form of implicit format specs. By implementing a custom checker we can make sure this doesn't happen again.
* Refactor the bookmark validation codeWojciech Siewierski2019-01-271-2/+7
| | | | | Now it's trivial for the test module to mock the bookmark validation without introducing too much logic about this mocking to the actual class.
* Make it easier to test bookmarks by optionally disabling validationWojciech Siewierski2019-01-271-2/+2
| | | | | The test bookmarks were intentionally bogus as we cannot reliably predict valid paths on the test system, so validation doesn't make any sense there.
* updated original filenameJon Erling Hustadnes2018-12-181-1/+1
|
* corrected for python 2.7Jon Erling Hustadnes2018-12-171-3/+3
|
* Added check if bookmark file is a symlink.Jon Erling Hustadnes2018-12-171-0/+17
| | | | | If it is, the os.rename is performed on the original file path instead of overwriting the symlink.
* Implemented unit test for recent fixtau32018-02-152-0/+18
|
* attempt to fix CIhut2018-01-281-0/+2
|
* fix testshut2018-01-281-4/+5
|
* added test script that checks for man page completenesshut2018-01-261-0/+54
|
* container.fsobject: Fix natural sortnfnty2017-01-241-4/+23
| | | | Fixes #749
* Python 3 division: Import `division` from `__future__`nfnty2017-01-213-3/+3
|
* linting: Python 2 compat: Import from `__future__`nfnty2017-01-173-0/+6
|
* linting: pylint and flake8nfnty2017-01-173-54/+54
|
* Fix misspellingsstepshal2016-06-262-2/+2
|
* Remove whitespace in blank linesstepshal2016-06-191-2/+2
|
* Merge branch 'E301' of https://github.com/stepshal/rangerhut2016-06-181-0/+2
|\
| * Add one blank line where is expectedstepshal2016-06-161-0/+2
| |
* | Add two blank lines where is expectedstepshal2016-06-162-0/+2
|/
* Make exactly one space after commastepshal2016-06-061-1/+1
| | | | Update commands.py
* test_fsobject: fix syntax errorhut2016-03-251-2/+2
|
* Remove accidental prints for debugginglverweijen2016-03-221-4/+0
|
* Make natural_sort's behaviour better definedlverweijen2016-03-081-0/+38
| | | | | | | The old version relied on comparing integers to strings which is not supported in Python 3 anymore and not a good practice in general anyway. It was also the case that 'hello2' was ordered before 'hello' instead of after, which I found to be non-intuitive.
* container.history: fixed rebase() unit testhut2016-02-281-3/+4
|
* bookmarks: add testLaurent Charignon2016-01-311-0/+52
|
* history: fix logic error and add test for all the methodsLaurent Charignon2016-01-311-2/+96
|
* tests: add a dummy pytest test and add it to the make test stepLaurent Charignon2016-01-314-0/+5