summaryrefslogtreecommitdiff
path: root/git/test/test_refs.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: move to root dirKonrad Weihmann2020-07-121-568/+0
| | | | | | | | | This should ensure that tests are NOT packaged into release package by setuptools, as tests are development only + fixtures after moving Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
* Revert moving tests out of 'git' folder, related to #1030Sebastian Thiel2020-07-121-0/+568
|
* tests: move to root dirKonrad Weihmann2020-07-121-568/+0
| | | | | | | | | This should ensure that tests are NOT packaged into release package by setuptools, as tests are development only + fixtures after moving Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
* Replace deprecated failUnlessRaises alias with assertRaises in testsHarmon2020-02-161-20/+20
|
* Rewrite unnecessary dict/list/tuple calls as literalsHugo2018-03-181-1/+1
|
* chore(lint): flake8 pacificationSebastian Thiel2016-12-081-1/+0
|
* fix(refs): handle quoted branch namesSebastian Thiel2016-12-081-0/+12
| | | | Fixes #550
* src: import os.path as ospKostis Anagnostopoulos2016-10-161-13/+15
|
* io: Wrap (probably) allconfig_writers in `with` blocksKostis Anagnostopoulos2016-10-041-9/+7
|
* src: No PyDev warningsKostis Anagnostopoulos2016-10-041-2/+2
| | | | | | | | + Mark all unused vars and other non-pep8 (PyDev) warnings + test_utils: + enable & fix forgotten IterableList looped path. + unittestize all assertions. + remote: minor fix progress dispatching unknown err-lines
* fix(Head): checkout() handles detached headSebastian Thiel2016-09-111-0/+6
| | | | | | | | | It's not optimal, as we can now return one of two types which are only compatible in the most basic ways. However, it is better than before, I presume. Fixes #510
* Updated unittest.Phil Elson2016-08-191-2/+2
|
* fix(refs): set fixture different versionSebastian Thiel2016-02-111-1/+1
|
* test_repo worksSebastian Thiel2015-01-061-2/+4
|
* Removed 'from X import *' whereever possibleSebastian Thiel2015-01-041-3/+14
|
* Bumped version, updated changelog, reduced code smellSebastian Thiel2015-01-041-2/+2
| | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements
* Applied autopep8Sebastian Thiel2014-11-191-1/+1
| | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
* pep8 linting (trailing whitespace)Antoine Musso2014-11-161-12/+12
| | | | W291 trailing whitespace
* pep8 linting (double spaces before comment)Antoine Musso2014-11-161-3/+3
| | | | E261 at least two spaces before inline comment
* pep8 linting (whitespace before/after)Antoine Musso2014-11-161-22/+22
| | | | | | | | | | | | | E201 whitespace after '(' E202 whitespace before ')' E203 whitespace before ':' E225 missing whitespace around operator E226 missing whitespace around arithmetic operator E227 missing whitespace around bitwise or shift operator E228 missing whitespace around modulo operator E231 missing whitespace after ',' E241 multiple spaces after ',' E251 unexpected spaces around keyword / parameter equals
* pep8 linting (blank lines expectations)Antoine Musso2014-11-161-7/+1
| | | | | | E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n)
* pep8 linting (whitespaces)Antoine Musso2014-11-161-79/+78
| | | | | | | | | | | W191 indentation contains tabs E221 multiple spaces before operator E222 multiple spaces after operator E225 missing whitespace around operator E271 multiple spaces after keyword W292 no newline at end of file W293 blank line contains whitespace W391 blank line at end of file
* tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel2014-02-091-524/+524
| | | | probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
* refs: added constructor flag to allow refs to be instatiated from any path, ↵Sebastian Thiel2011-07-041-0/+5
| | | | including simple test
* relaxed implementation when comparing symbolic references against other ↵Sebastian Thiel2011-06-081-0/+9
| | | | items which don't have a path. Fixed test_refs to work in all cases - it was previously dependent on the order of items returned by the file system
* added test & fix for mangled tagger namesOrestis Markou2011-05-011-0/+10
|
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-0/+521
adjusted