provide --resolve tag for collection claim, separate from resolving its contents

bugfix and docs generation

review changes
This commit is contained in:
zeppi 2021-02-19 16:14:44 -05:00 committed by Lex Berezhny
parent 9815ddef1f
commit 183fb9f9ff
4 changed files with 46 additions and 7 deletions

View file

@ -365,6 +365,26 @@ class Examples(CommandTestCase):
await self.daemon.jsonrpc_comment_abandon(reply['comment_id'])
# collections
collection = await r(
'Create a collection of one stream',
'collection', 'create',
'--name=tom', '--bid=1.0',
f'--channel_id={channel_id}',
f'--claims={stream_id}'
)
await self.on_transaction_dict(collection)
await self.generate(1)
await self.on_transaction_dict(collection)
await r(
'List collections',
'collection', 'list',
'--resolve', '--resolve_claims=1',
)
# files
file_list_result = (await r(