This commit is contained in:
jessop 2019-11-13 22:14:20 -05:00 committed by Lex Berezhny
parent f7c94c9eb5
commit 26e2865e35
2 changed files with 3 additions and 3 deletions

View file

@ -267,13 +267,13 @@ class CommandTestCase(IntegrationTestCase):
return await self.confirm_and_render( return await self.confirm_and_render(
self.daemon.jsonrpc_channel_abandon(*args, **kwargs), confirm self.daemon.jsonrpc_channel_abandon(*args, **kwargs), confirm
) )
# ClaimIDs = ....
async def collection_create( async def collection_create(
self, name='firstcollection', bid='1.0', confirm=True, **kwargs): self, name='firstcollection', bid='1.0', confirm=True, **kwargs):
return await self.confirm_and_render( return await self.confirm_and_render(
self.daemon.jsonrpc_collection_create(name, bid, **kwargs), confirm self.daemon.jsonrpc_collection_create(name, bid, **kwargs), confirm
) )
# ClaimIDs = ....
async def collection_update( async def collection_update(
self, claim_id, confirm=True, **kwargs): self, claim_id, confirm=True, **kwargs):
return await self.confirm_and_render( return await self.confirm_and_render(

View file

@ -16,7 +16,7 @@ log = logging.getLogger(__name__)
class ClaimTestCase(CommandTestCase): class ClaimTestCase(CommandTestCase):
# add collection tests
files_directory = os.path.join(os.path.dirname(__file__), 'files') files_directory = os.path.join(os.path.dirname(__file__), 'files')
video_file_url = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4' video_file_url = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4'
video_file_name = os.path.join(files_directory, 'ForBiggerEscapes.mp4') video_file_name = os.path.join(files_directory, 'ForBiggerEscapes.mp4')