File size: 3,423 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": "0d41da3cc8724ded8a3855409cf9c5d776a7f491",
  "parent": "735efff88cc8d59021cb5a746ba70b66548e7662",
  "repository_id": "R003",
  "schema_version": 1,
  "task_id": "TASK_S2_R003_007",
  "valid_end_to_end": true,
  "validation": {
    "commands": [
      "python -m pytest -q tests/unit/objects"
    ],
    "elapsed_seconds": 1.3271239169407636,
    "gold": [
      {
        "command": "python -m pytest -q tests/unit/objects",
        "elapsed_seconds": 0.4486785000190139,
        "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.25041304086335003,
        "returncode": 2,
        "stderr": "",
        "stdout": "\n==================================== ERRORS ====================================\n____________ ERROR collecting tests/unit/objects/test_templates.py _____________\nImportError while importing test module '/private/var/folders/mv/1101q6r16619mvm7kc7f3lt80000gn/T/study2-r003-c9j0pu4t/tree/tests/unit/objects/test_templates.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_templates.py:13: in <module>\n    from gitlab.v4.objects import (\nE   ImportError: cannot import name 'ProjectDockerfileTemplate' from 'gitlab.v4.objects' (/private/var/folders/mv/1101q6r16619mvm7kc7f3lt80000gn/T/study2-r003-c9j0pu4t/tree/gitlab/v4/objects/__init__.py)\n=========================== short test summary info ============================\nERROR tests/unit/objects/test_templates.py\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n1 error in 0.08s\n",
        "timed_out": false
      }
    ],
    "hidden_apply": {
      "elapsed_seconds": 0.009701250120997429,
      "returncode": 0,
      "stderr": "",
      "stdout": ""
    },
    "original": [
      {
        "command": "python -m pytest -q tests/unit/objects",
        "elapsed_seconds": 0.5652419591788203,
        "returncode": 0,
        "stderr": "",
        "stdout": "....................................................................s..s [ 21%]\n........................................................................ [ 42%]\n........................................................................ [ 63%]\n...s.................................................................... [ 84%]\n.....................................................                    [100%]\n338 passed, 3 skipped in 0.39s\n",
        "timed_out": false
      }
    ],
    "reason": null,
    "source_apply": {
      "elapsed_seconds": 0.0090182910207659,
      "returncode": 0,
      "stderr": "",
      "stdout": ""
    },
    "valid": true
  }
}