Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce a distinct searchable non-broken storage for markers #3317

Merged
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
360d608
introduce a own storage for markers
RonnyPfannschmidt Mar 16, 2018
2707221
port mark evaluation to the new storage and fix a bug in evaluation
RonnyPfannschmidt Mar 16, 2018
f1a1695
enable deep merging test - new structure fixed it
RonnyPfannschmidt Mar 16, 2018
e8feee0
fix up the mark evaluator validity check
RonnyPfannschmidt Mar 16, 2018
180ae09
deprecate markinfo and fix up most marker scoping access while comple…
RonnyPfannschmidt Mar 17, 2018
99015bf
fix most of metafunc tests by mocking
RonnyPfannschmidt Mar 17, 2018
2d06ae0
base metafunc fixtureinfo on the functiondefinition to caputure its m…
RonnyPfannschmidt Mar 17, 2018
5e56e9b
refactor node markers, remove need to be aware of nodes
RonnyPfannschmidt Mar 18, 2018
ced1316
add docstrings for nodemarkers
RonnyPfannschmidt Mar 19, 2018
775fb96
first changelog entry
RonnyPfannschmidt Mar 19, 2018
159ea9b
turn Markinfo into atts clsas, and return correct instances of it fro…
RonnyPfannschmidt Mar 19, 2018
a92a51b
clarify find_markers return value
RonnyPfannschmidt Mar 20, 2018
02315c0
remove unnecessary of in the code figuring the fixture names
RonnyPfannschmidt Mar 21, 2018
2cb7e72
document the hack used to avoid duplicate markers due Instance collec…
RonnyPfannschmidt Mar 21, 2018
ee51fa5
add api to iterate over all marerks of a node
RonnyPfannschmidt Mar 26, 2018
8805036
add node iteration apis
RonnyPfannschmidt Mar 26, 2018
dbb1b5a
remove NodeMarkers, turn own_markers into a list and use iter_markers…
RonnyPfannschmidt Mar 29, 2018
802da78
fix method reference to iter_markers in warning
RonnyPfannschmidt Mar 30, 2018
e4a52c1
prevent doubleing of function level marks
RonnyPfannschmidt Mar 30, 2018
7454a38
update configuration examples to new mark api
RonnyPfannschmidt Mar 30, 2018
a2974dd
fix doc building
RonnyPfannschmidt Mar 30, 2018
1fcadeb
extend marker docs with reasons on marker iteration
RonnyPfannschmidt Apr 5, 2018
48bcc34
Reword the docs on markers a bit
nicoddemus Apr 5, 2018
a8ad89c
fix documentation references
RonnyPfannschmidt Apr 5, 2018
3582e1f
include more detail on the marker api issues
RonnyPfannschmidt Apr 5, 2018
e534cc8
Fix typos in docs
nicoddemus Apr 5, 2018
4df8f2b
fix doc build, use noindex on the mark reference
RonnyPfannschmidt Apr 6, 2018
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Diff settings

Always

Just for now

fix up the mark evaluator validity check

  • Loading branch information...
RonnyPfannschmidt committed Mar 16, 2018
commit e8feee0612246d4f3414530388c9aee6dd0f563c
Copy path View file
@@ -27,7 +27,8 @@ def __init__(self, item, name):
self._mark_name = name

def __bool__(self):
return bool(self._marks)
# dont cache here to prevent staleness
return bool(self._get_marks())
__nonzero__ = __bool__

def wasvalid(self):
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.