sodafoundation / api

SODA Terra Project API module : is an open source implementation of SODA API connecting storage to platforms like Kubernetes, OpenStack, and VMware
Apache License 2.0
828 stars 314 forks source link

Adding test cases for db package in SODA API #1271

Open nguptaopensds opened 4 years ago

nguptaopensds commented 4 years ago

Issue/Feature Description: Right now, api/db package has test coverage of 31.4%, we need to make it more than 60%. For that we need to add more test cases to the package.

Why this issue to fixed / feature is needed(give scenarios or use cases): Quality improvement is integral part of any project and to reach that we need to achieve test coverage of more than 60%

How to reproduce, in case of a bug:

Other Notes / Environment Information: (Please give the env information, log link or any useful information for this issue)

nguptaopensds commented 4 years ago

Parent issue : #1268