File size: 3,505 Bytes
d61821a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
  "commit": "6d31649190279a844bfa591a953b0556cd6fc492",
  "parent": "d509da60155e9470dee197d91926850ea9548de9",
  "repository_id": "R003",
  "schema_version": 1,
  "task_id": "TASK_S2_R003_012",
  "valid_end_to_end": true,
  "validation": {
    "commands": [
      "python -m pytest -q tests/unit/objects"
    ],
    "elapsed_seconds": 1.2803772080224007,
    "gold": [
      {
        "command": "python -m pytest -q tests/unit/objects",
        "elapsed_seconds": 0.41283058281987906,
        "returncode": 0,
        "stderr": "",
        "stdout": "................................................................s..s.... [ 21%]\n........................................................................ [ 43%]\n...................................................................s.... [ 65%]\n........................................................................ [ 86%]\n............................................                             [100%]\n329 passed, 3 skipped in 0.24s\n",
        "timed_out": false
      }
    ],
    "hidden": [
      {
        "command": "python -m pytest -q tests/unit/objects",
        "elapsed_seconds": 0.24596374994143844,
        "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-y397aad3/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 ProjectRegistryProtectionRule\nE   ImportError: cannot import name 'ProjectRegistryProtectionRule' from 'gitlab.v4.objects' (/private/var/folders/mv/1101q6r16619mvm7kc7f3lt80000gn/T/study2-r003-y397aad3/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.009630083106458187,
      "returncode": 0,
      "stderr": "",
      "stdout": ""
    },
    "original": [
      {
        "command": "python -m pytest -q tests/unit/objects",
        "elapsed_seconds": 0.5597804160788655,
        "returncode": 0,
        "stderr": "",
        "stdout": "................................................................s..s.... [ 21%]\n........................................................................ [ 43%]\n...................................................................s.... [ 65%]\n........................................................................ [ 87%]\n.........................................                                [100%]\n326 passed, 3 skipped in 0.38s\n",
        "timed_out": false
      }
    ],
    "reason": null,
    "source_apply": {
      "elapsed_seconds": 0.009687625104561448,
      "returncode": 0,
      "stderr": "",
      "stdout": ""
    },
    "valid": true
  }
}