aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/harvest_state.py
Commit message (Collapse)AuthorAgeFilesLines
* fmt (black): tests/Bryan Newbold2021-11-021-7/+6
|
* python: isort everythingBryan Newbold2021-11-021-0/+1
|
* lint (flake8) python test filesBryan Newbold2020-07-011-2/+0
|
* rename HarvestState.next() to HarvestState.next_span()Bryan Newbold2020-05-261-2/+2
| | | | | | | | | "span" short for "timespan" to harvest; there may be a better name to use. Motivation for this is to work around a pylint erorr that .next() was not callable. This might be a bug with pylint, but .next() is also a very generic name.
* HACK: try to squelch pylint in CIBryan Newbold2020-05-261-2/+2
| | | | | | | | | | | | | | | | | Gitlab CI is showing lint errors like: =================================== FAILURES =================================== 6316 _______________________ [pylint] tests/harvest_state.py ________________________ 6317 E: 19,11: hs.next is not callable (not-callable) 6318 E: 33,11: hs.next is not callable (not-callable) 6319 E: 19,11: hs.next is not callable (not-callable) [...] this is confusing as we use pipenv with a lock, so I should see the exact same errors locally. This commit is a hack to try and fix this and unbreak builds until we can debug further.
* Indentity is not the same this as equality in PythonChristian Clauss2020-05-141-5/+5
|
* better DOI registrar harvestersBryan Newbold2018-11-191-0/+40