aboutsummaryrefslogtreecommitdiff
path: root/git/test/test_refs.py
AgeCommit message (Collapse)Author
2020-07-12tests: move to root dirKonrad Weihmann
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>
2020-07-12Revert moving tests out of 'git' folder, related to #1030Sebastian Thiel
2020-07-12tests: move to root dirKonrad Weihmann
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>
2020-02-16Replace deprecated failUnlessRaises alias with assertRaises in testsHarmon
2018-03-18Rewrite unnecessary dict/list/tuple calls as literalsHugo
2016-12-08chore(lint): flake8 pacificationSebastian Thiel
2016-12-08fix(refs): handle quoted branch namesSebastian Thiel
Fixes #550
2016-10-16src: import os.path as ospKostis Anagnostopoulos
2016-10-04io: Wrap (probably) allconfig_writers in `with` blocksKostis Anagnostopoulos
2016-10-04src: No PyDev warningsKostis Anagnostopoulos
+ 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
2016-09-11fix(Head): checkout() handles detached headSebastian Thiel
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
2016-08-19Updated unittest.Phil Elson
2016-02-11fix(refs): set fixture different versionSebastian Thiel
2015-01-06test_repo worksSebastian Thiel
2015-01-04Removed 'from X import *' whereever possibleSebastian Thiel
2015-01-04Bumped version, updated changelog, reduced code smellSebastian Thiel
There is more work to do though, as many imports are still incorrect. Also, there are still print statements
2014-11-19Applied autopep8Sebastian Thiel
Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
2014-11-16pep8 linting (trailing whitespace)Antoine Musso
W291 trailing whitespace
2014-11-16pep8 linting (double spaces before comment)Antoine Musso
E261 at least two spaces before inline comment
2014-11-16pep8 linting (whitespace before/after)Antoine Musso
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
2014-11-16pep8 linting (blank lines expectations)Antoine Musso
E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n)
2014-11-16pep8 linting (whitespaces)Antoine Musso
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
2014-02-09tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel
probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
2011-07-04refs: added constructor flag to allow refs to be instatiated from any path, ↵Sebastian Thiel
including simple test
2011-06-08relaxed implementation when comparing symbolic references against other ↵Sebastian Thiel
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
2011-05-01added test & fix for mangled tagger namesOrestis Markou
2010-11-25Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel
adjusted