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
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 :