Clone
1
run 2241 TEST commit b05f97d
ci-bot edited this page 2025-08-14 12:30:37 +00:00

Test Report

View CI Run 2241 | Commit b05f97d

🧪 Test Report

Generated on 2025-08-14 14:30:14 CEST

🧾 General Info

  • duration: 5.750641107559204
  • root: /workspace/tligui_y/slic
  • environment: {}

📋 Summary

  • Passed: 4
  • Failed: 1
  • Total: 5
  • Collected: 5

🔎 Tests

Passed (4)
  • 📄 test_utils_elog.py

    Function: test_get_default_elog_instance_with_direct_password_and_real_check

    • Test 1

      📌 Setup phase

      duration:

      0.00041637104004621506
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.05062804976478219
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0003547673113644123
      

      outcome:

      passed
      

    Function: test_get_default_elog_instance_asks_password_and_opens

    • Test 3

      📌 Setup phase

      duration:

      0.00014722859486937523
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.03722065594047308
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023599294945597649
      

      outcome:

      passed
      

    Function: test_get_default_elog_with_path_home

    • Test 4

      📌 Setup phase

      duration:

      0.00017005391418933868
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.04208977613598108
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001906808465719223
      

      outcome:

      passed
      

    Function: test_screenshot

    • Test 5

      📌 Setup phase

      duration:

      0.00015419302508234978
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.04473493807017803
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021846918389201164
      

      outcome:

      passed
      
Failed (1)
  • 📄 test_utils_elog.py

    Function: test_get_default_elog_instance_with_wrong_password_and_real_check

    • Test 2

      📌 Setup phase

      duration:

      0.00015277601778507233
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.008753607980906963
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_elog.py
      lineno: 46
      message: Failed: DID NOT RAISE <class 'elog.logbook_exceptions.LogbookAuthenticationError'>
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 46
        message: Failed
      

      longrepr:

      def test_get_default_elog_instance_with_wrong_password_and_real_check():
              url = "http://localhost:8080/demo"
              user = "robot"
              wrong_password = "wrongpassword"
      
              elog = Elog(url, user=user, password=wrong_password)
      
              with pytest.raises(LogbookAuthenticationError):
      >           elog.post("This should fail due to wrong password")
      E           Failed: DID NOT RAISE <class 'elog.logbook_exceptions.LogbookAuthenticationError'>
      
      tests/test_utils_elog.py:46: Failed
      

      📌 Teardown phase

      duration:

      0.00027218740433454514
      

      outcome:

      passed
      

📚 Collected files

(1 tests)
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_elog.py
      type: Module
    
tests (1 tests)
  • tests/test_utils_elog.py
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_elog.py::test_get_default_elog_instance_with_direct_password_and_real_check
      type: Function
      lineno: 12
    -   nodeid: tests/test_utils_elog.py::test_get_default_elog_instance_with_wrong_password_and_real_check
      type: Function
      lineno: 37
    -   nodeid: tests/test_utils_elog.py::test_get_default_elog_instance_asks_password_and_opens
      type: Function
      lineno: 53
    -   nodeid: tests/test_utils_elog.py::test_get_default_elog_with_path_home
      type: Function
      lineno: 79
    -   nodeid: tests/test_utils_elog.py::test_screenshot
      type: Function
      lineno: 128
    

⚠️ Warnings

Warnings nº1
message: invalid escape sequence \-
category: DeprecationWarning
when: collect
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/bsread/h5.py
lineno: 207
Warnings nº2
message: The module numpy.dual is deprecated.  Instead of using dual, use the functions directly from numpy or scipy.
category: DeprecationWarning
when: collect
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/scipy/fft/__init__.py
lineno: 97