Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

1. Package

1.1 The output diffs from the example's when using correct body parameters and types :


1.2 The output is not as expected when using incorrect body types. e.g. When the type of name and language is INT, the type of md5 and file is invalid, it should throw an error.


2. Install

2.1 When not body is entered, it should throw an error: 


'''

           qs = Node.objects.filter(type="peer", organization=org)
            if not qs.exists():
                raise ResourceNotFound
            peer_node = qs.first()

'''


User can't use a specific node, the code returns the first node in peers, so all the tests failed.


2.2 When the type of body is not valid, it should throw an error:


2.3 The output diffs from the example's when using correct body parameters and types :


3. Query Installed chaincodes, failed due to no specific node value.


  • No labels