Ran
|
Files
82
|
Run time
9s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Worker: Add tests for extract_submission_data function(#2498) * [GCI] Add test for extract_submission_data Added `test_extract_submission_data` to test function [`extract_submission_data` ](https://github.com/Cloud-CV/EvalAI/blob/master/scripts/workers/submission_worker.py#L275) from submission worker. * Update test_submission_worker.py * Fix typo * Update test_submission_worker.py * Update test_submission_worker.py * Update test_submission_worker.py * Update test_submission_worker.py * Update test_submission_worker.py * Update test_submission_worker.py * Update test_submission_worker.py * Update test_submission_worker.py * Make requested changes * Update test_submission_worker.py * Update test_submission_worker.py * Update test_submission_worker.py * Added access to db * Added access to django db by changing `unittest.TestCase` to `rest_framework.APITestCase`. * Made code compatible with https://github.com/Cloud-CV/EvalAI/pulls/2497 * Fix typo ibjects -> objects * Make requested changes, add new class variables * Remove start and stop calls to patcher. * Revert "Remove start and stop calls to patcher." This reverts commit fd7d63b0a. * Fix failing Travis CI build * Update test_submission_worker.py * Update test_submission_worker.py * Update test_submission_worker.py * Fix flake8 errors and failing Travis build * Update test_submission_worker.py * Make requested changes, remove unused variables and method. Co-authored-by: Rishabh Jain <rishabhjain2018@gmail.com>
1680 of 2411 relevant lines covered (69.68%)
0.7 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|