summaryrefslogtreecommitdiff
path: root/git/test/lib/asserts.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove test.lib.asserts and use unittest.mock.patch directlyHarmon2020-02-161-9/+0
|
* Replace assert_false with assertFalseHarmon2020-02-161-5/+1
|
* Replace assert_true with assertTrueHarmon2020-02-161-2/+1
| | | | Also change TestOutputStream to subclass TestBase rather than object
* Replace raises with assertRaisesHarmon2020-02-161-2/+1
|
* Replace assert_raises with assertRaisesHarmon2020-02-161-3/+1
|
* Replace assert_not_equal with assertNotEqualHarmon2020-02-161-2/+1
|
* Replace assert_equal with assertEqualHarmon2020-02-161-2/+1
| | | | Also change TestActor to subclass TestBase rather than object and create and use base TestCommitSerialization class for assert_commit_serialization method
* Remove and replace assert_match with assertRegexHarmon2020-02-161-13/+1
| | | | Also remove no longer used assert_not_none
* Remove old, no longer used assert methodsHarmon2020-02-161-37/+1
| | | | assert_instance_of, assert_not_instance_of, assert_none, assert_not_match, assert_mode_644, assert_mode_755
* Remove outdated checks for unittest.mock existenceHarmon2020-02-161-5/+1
|
* src: No PyDev warningsKostis Anagnostopoulos2016-10-041-7/+7
| | | | | | | | + 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
* test, deps: FIX `mock` deps on py3.Kostis Anagnostopoulos2016-09-251-1/+4
| | | | + Del extra spaces, import os.path as osp
* initial set of adjustments to make (most) imports work.Sebastian Thiel2015-01-041-10/+8
| | | | More to come, especially when it's about strings
* Replaced ordered dict with standard version; used logging moduleSebastian Thiel2015-01-041-0/+1
| | | | All performance tests still print to stderr, but do so in a py3 compatible way
* Removed 'from X import *' whereever possibleSebastian Thiel2015-01-041-4/+16
|
* Bumped version, updated changelog, reduced code smellSebastian Thiel2015-01-041-1/+0
| | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements
* pep8 linting (trailing whitespace)Antoine Musso2014-11-161-2/+2
| | | | W291 trailing whitespace
* pep8 linting (blank lines expectations)Antoine Musso2014-11-161-0/+8
| | | | | | 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-3/+3
| | | | | | | | | | | 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
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-0/+50
adjusted