| { |
| "commit": "40af1c8a14814cb0034dfeaaa33d8c38504fe34e", |
| "parent": "9439132b1df39fbf386e5ee4d8354e78f549e109", |
| "repository_id": "R003", |
| "schema_version": 1, |
| "task_id": "TASK_S2_R003_006", |
| "valid_end_to_end": true, |
| "validation": { |
| "commands": [ |
| "python -m pytest -q tests/unit/objects" |
| ], |
| "elapsed_seconds": 1.3263617909979075, |
| "gold": [ |
| { |
| "command": "python -m pytest -q tests/unit/objects", |
| "elapsed_seconds": 0.43539245892316103, |
| "returncode": 0, |
| "stderr": "", |
| "stdout": "....................................................................s..s [ 20%]\n........................................................................ [ 41%]\n........................................................................ [ 61%]\n...s.................................................................... [ 82%]\n............................................................... [100%]\n348 passed, 3 skipped in 0.27s\n", |
| "timed_out": false |
| } |
| ], |
| "hidden": [ |
| { |
| "command": "python -m pytest -q tests/unit/objects", |
| "elapsed_seconds": 0.2516879579052329, |
| "returncode": 2, |
| "stderr": "", |
| "stdout": "\n==================================== ERRORS ====================================\n____ ERROR collecting tests/unit/objects/test_registry_protection_rules.py _____\nImportError while importing test module '/private/var/folders/mv/1101q6r16619mvm7kc7f3lt80000gn/T/study2-r003-f14wqt0n/tree/tests/unit/objects/test_registry_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_registry_protection_rules.py:8: in <module>\n from gitlab.v4.objects import ProjectRegistryRepositoryProtectionRule\nE ImportError: cannot import name 'ProjectRegistryRepositoryProtectionRule' from 'gitlab.v4.objects' (/private/var/folders/mv/1101q6r16619mvm7kc7f3lt80000gn/T/study2-r003-f14wqt0n/tree/gitlab/v4/objects/__init__.py)\n=========================== short test summary info ============================\nERROR tests/unit/objects/test_registry_protection_rules.py\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n1 error in 0.08s\n", |
| "timed_out": false |
| } |
| ], |
| "hidden_apply": { |
| "elapsed_seconds": 0.009637792129069567, |
| "returncode": 0, |
| "stderr": "", |
| "stdout": "" |
| }, |
| "original": [ |
| { |
| "command": "python -m pytest -q tests/unit/objects", |
| "elapsed_seconds": 0.5765780000947416, |
| "returncode": 0, |
| "stderr": "", |
| "stdout": "....................................................................s..s [ 20%]\n........................................................................ [ 41%]\n........................................................................ [ 61%]\n...s.................................................................... [ 82%]\n............................................................... [100%]\n348 passed, 3 skipped in 0.40s\n", |
| "timed_out": false |
| } |
| ], |
| "reason": null, |
| "source_apply": { |
| "elapsed_seconds": 0.009424916934221983, |
| "returncode": 0, |
| "stderr": "", |
| "stdout": "" |
| }, |
| "valid": true |
| } |
| } |
|
|