Electrostatics / apbs-aws

APBS in an AWS environment
Creative Commons Zero v1.0 Universal
0 stars 2 forks source link

Adding additional tests to repo #118

Closed Eo300 closed 3 years ago

Eo300 commented 3 years ago

This relates to #94 Adding some tests which use the moto package. This is mainly for progress in order to get some tests into main. As such, don't delete this branch after merge.

pytest is run from the top directory

Possible next step is to parameterize the variable

Eo300 commented 3 years ago

Current coverage:

Name                                                     Stmts   Miss  Cover
----------------------------------------------------------------------------
lambda_services\api_service\__init__.py                      0      0   100%
lambda_services\api_service\api_service.py                  38      2    95%
lambda_services\job_service\__init__.py                      0      0   100%
lambda_services\job_service\job_service.py                  88     12    86%
lambda_services\job_service\launcher\apbs_runner.py        212     64    70%
lambda_services\job_service\launcher\jobsetup.py            37     12    68%
lambda_services\job_service\launcher\pdb2pqr_runner.py      69     24    65%
lambda_services\job_service\launcher\utils.py              166     48    71%
lambda_services\job_service\launcher\weboptions.py         130     57    56%
----------------------------------------------------------------------------
TOTAL                                                      740    219    70%