Clone
1
run 2171 TEST commit a61df3e
ci-bot edited this page 2025-08-12 19:28:46 +00:00

Test Report

View CI Run 2171 | Commit a61df3e

🧪 Test Report

Generated on 2025-08-12 21:28:22 CEST

🧾 General Info

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

📋 Summary

  • Failed: 1
  • Passed: 1
  • Total: 2
  • Collected: 2

🔎 Tests

Failed (1)
  • 📄 test_utils_sendmail.py

    Function: test_sendmail_local_delivery

    • Test 1

      📌 Setup phase

      duration:

      0.00037942780181765556
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00025467295199632645
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_sendmail.py
      lineno: 22
      message: UnboundLocalError: local variable 'maildir_new' referenced before assignment
      

      traceback:

      -   path: tests/test_utils_sendmail.py
        lineno: 22
        message: UnboundLocalError
      

      longrepr:

      def test_sendmail_local_delivery():
      
              # Get the current system user
              user = getpass.getuser()
      
              # Define the recipient and email content
              to_addr = f"{user}@localhost"
              subject = "Local sendmail test"
              body = "Hello from pytest/local!"
      
              # Clean up the mail
      >       for f in glob.glob(os.path.join(maildir_new, "*")):
      E       UnboundLocalError: local variable 'maildir_new' referenced before assignment
      
      tests/test_utils_sendmail.py:22: UnboundLocalError
      

      📌 Teardown phase

      duration:

      0.00030222395434975624
      

      outcome:

      passed
      
Passed (1)
  • 📄 test_utils_sendmail.py

    Function: test_sendmail_raises_on_sendmail_failure

    • Test 2

      📌 Setup phase

      duration:

      0.00036511803045868874
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0021958118304610252
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001834249123930931
      

      outcome:

      passed
      

📚 Collected files

(1 tests)
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_sendmail.py
      type: Module
    
tests (1 tests)
  • tests/test_utils_sendmail.py
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_sendmail.py::test_sendmail_local_delivery
      type: Function
      lineno: 10
    -   nodeid: tests/test_utils_sendmail.py::test_sendmail_raises_on_sendmail_failure
      type: Function
      lineno: 52
    

⚠️ 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