| { |
| "commit": "6b37811c3060620afd8b81e54a99d96e4e094ce9", |
| "parent": "c378817389a9510ef508b5a3c90282e5fb60049f", |
| "repository_id": "R003", |
| "schema_version": 1, |
| "task_id": "TASK_S2_R003_013", |
| "valid_end_to_end": true, |
| "validation": { |
| "commands": [ |
| "python -m pytest -q tests/unit/objects" |
| ], |
| "elapsed_seconds": 1.2749558328650892, |
| "gold": [ |
| { |
| "command": "python -m pytest -q tests/unit/objects", |
| "elapsed_seconds": 0.4238714170642197, |
| "returncode": 0, |
| "stderr": "", |
| "stdout": "................................................................s..s.... [ 21%]\n........................................................................ [ 43%]\n...................................................................s.... [ 65%]\n........................................................................ [ 87%]\n......................................... [100%]\n326 passed, 3 skipped in 0.25s\n", |
| "timed_out": false |
| } |
| ], |
| "hidden": [ |
| { |
| "command": "python -m pytest -q tests/unit/objects", |
| "elapsed_seconds": 0.24831195804290473, |
| "returncode": 2, |
| "stderr": "", |
| "stdout": "\n==================================== ERRORS ====================================\n_____ ERROR collecting tests/unit/objects/test_package_protection_rules.py _____\nImportError while importing test module '/private/var/folders/mv/1101q6r16619mvm7kc7f3lt80000gn/T/study2-r003-s03z31hf/tree/tests/unit/objects/test_package_protection_rules.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n/opt/homebrew/Cellar/python@3.11/3.11.15_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py:126: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\ntests/unit/objects/test_package_protection_rules.py:8: in <module>\n from gitlab.v4.objects import ProjectPackageProtectionRule\nE ImportError: cannot import name 'ProjectPackageProtectionRule' from 'gitlab.v4.objects' (/private/var/folders/mv/1101q6r16619mvm7kc7f3lt80000gn/T/study2-r003-s03z31hf/tree/gitlab/v4/objects/__init__.py)\n=========================== short test summary info ============================\nERROR tests/unit/objects/test_package_protection_rules.py\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n1 error in 0.08s\n", |
| "timed_out": false |
| } |
| ], |
| "hidden_apply": { |
| "elapsed_seconds": 0.009436875116080046, |
| "returncode": 0, |
| "stderr": "", |
| "stdout": "" |
| }, |
| "original": [ |
| { |
| "command": "python -m pytest -q tests/unit/objects", |
| "elapsed_seconds": 0.5414669578894973, |
| "returncode": 0, |
| "stderr": "", |
| "stdout": "................................................................s..s.... [ 22%]\n........................................................................ [ 44%]\n...............................................................s........ [ 66%]\n........................................................................ [ 88%]\n..................................... [100%]\n322 passed, 3 skipped in 0.36s\n", |
| "timed_out": false |
| } |
| ], |
| "reason": null, |
| "source_apply": { |
| "elapsed_seconds": 0.009815499885007739, |
| "returncode": 0, |
| "stderr": "", |
| "stdout": "" |
| }, |
| "valid": true |
| } |
| } |
|
|