mirror of
https://github.com/vale981/releases
synced 2025-03-04 17:21:43 -05:00
Let presentation test helper return rendered nodes
This commit is contained in:
parent
3ed7ee99c8
commit
2e4a8a9a9f
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@ class presentation(Spec):
|
|||
entry(b(15, app=app)),
|
||||
release('1.0.0'),
|
||||
], app=app))
|
||||
# Shorthand for "I'll do my own asserts"
|
||||
if expected is None:
|
||||
return nodes
|
||||
if type_ == 'release':
|
||||
header = nodes[0][0][0].astext()
|
||||
assert expected in header
|
||||
|
|
Loading…
Add table
Reference in a new issue