Skip to content

🐛 (generation) Correu asincron #406

🐛 (generation) Correu asincron

🐛 (generation) Correu asincron #406

GitHub Actions / Test Results failed Jan 28, 2025 in 0s

7 fail, 3 skipped, 236 pass in 18s

246 tests   236 ✅  18s ⏱️
  2 suites    3 💤
  2 files      7 ❌

Results for commit 12b6b21.

Annotations

Check warning on line 0 in om_generationkwh.tests.investment_tests.InvestmentTests.test__amortize__negativeAmortizationGKW

See this annotation in the file changed.

@github-actions github-actions / Test Results

som_generationkwh.tests.investment_tests.InvestmentTests.test__amortize__negativeAmortizationGKWH (om_generationkwh.tests.investment_tests.InvestmentTests.test__amortize__negativeAmortizationGKW) failed

test-results/destral/som_generationkwh.xml [took 0s]
Raw output
Failure At som_generationkwh.tests.investment_tests.InvestmentTests.test__amortize__negativeAmortizationGKWH
Traceback (most recent call last):
  File "/home/runner/.pyenv/versions/2.7.18/lib/python2.7/site-packages/mock/mock.py", line 1330, in patched
    return func(*args, **keywargs)
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 1208, in test__amortize__negativeAmortizationGKWH
    account_id = self._generationMailAccount(cursor, uid),
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 110, in assertMailLogEqual
    self.assertNsEqual(log or '{}', expected)
  File "/home/runner/work/somenergia-generationkwh/plantmeter/plantmeter/testutils.py", line 34, in assertNsEqual
    return self.assertMultiLineEqual(dict1.dump(), dict2.dump())
AssertionError: 'logs:\n- from_id: 4\n  id: 44\n  model: account.invoice\n  template: generation [truncated]... != 'logs:\n- from_id:\n  - 4\n  id: 44\n  model: account.invoice\n  template: gener [truncated]...
  logs:
- - from_id: 4
?           --
+ - from_id:
+   - 4
    id: 44
    model: account.invoice
    template: generationkwh_mail_amortitzacio

Check warning on line 0 in om_generationkwh.tests.investment_tests.InvestmentTests.test__amortize__oneAmortizationGKW

See this annotation in the file changed.

@github-actions github-actions / Test Results

som_generationkwh.tests.investment_tests.InvestmentTests.test__amortize__oneAmortizationGKWH (om_generationkwh.tests.investment_tests.InvestmentTests.test__amortize__oneAmortizationGKW) failed

test-results/destral/som_generationkwh.xml [took 0s]
Raw output
Failure At som_generationkwh.tests.investment_tests.InvestmentTests.test__amortize__oneAmortizationGKWH
Traceback (most recent call last):
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 1178, in test__amortize__oneAmortizationGKWH
    account_id = self._generationMailAccount(cursor, uid),
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 110, in assertMailLogEqual
    self.assertNsEqual(log or '{}', expected)
  File "/home/runner/work/somenergia-generationkwh/plantmeter/plantmeter/testutils.py", line 34, in assertNsEqual
    return self.assertMultiLineEqual(dict1.dump(), dict2.dump())
AssertionError: 'logs:\n- from_id: 4\n  id: 45\n  model: account.invoice\n  template: generation [truncated]... != 'logs:\n- from_id:\n  - 4\n  id: 45\n  model: account.invoice\n  template: gener [truncated]...
  logs:
- - from_id: 4
?           --
+ - from_id:
+   - 4
    id: 45
    model: account.invoice
    template: generationkwh_mail_amortitzacio

Check warning on line 0 in om_generationkwh.tests.investment_tests.InvestmentTests.test__create_from_form__sendsCreationEmailAP

See this annotation in the file changed.

@github-actions github-actions / Test Results

som_generationkwh.tests.investment_tests.InvestmentTests.test__create_from_form__sendsCreationEmailAPO (om_generationkwh.tests.investment_tests.InvestmentTests.test__create_from_form__sendsCreationEmailAP) failed

test-results/destral/som_generationkwh.xml [took 0s]
Raw output
Failure At som_generationkwh.tests.investment_tests.InvestmentTests.test__create_from_form__sendsCreationEmailAPO
Traceback (most recent call last):
  File "/home/runner/.pyenv/versions/2.7.18/lib/python2.7/site-packages/freezegun/api.py", line 735, in wrapper
    result = func(*args, **kwargs)
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 520, in test__create_from_form__sendsCreationEmailAPO
    account_id = self._aportaMailAccount(cursor, uid),
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 110, in assertMailLogEqual
    self.assertNsEqual(log or '{}', expected)
  File "/home/runner/work/somenergia-generationkwh/plantmeter/plantmeter/testutils.py", line 34, in assertNsEqual
    return self.assertMultiLineEqual(dict1.dump(), dict2.dump())
AssertionError: 'logs:\n- from_id: 6\n  id: 8\n  model: generationkwh.investment\n  template: ap [truncated]... != 'logs:\n- from_id:\n  - 6\n  id: 8\n  model: generationkwh.investment\n  templat [truncated]...
  logs:
- - from_id: 6
?           --
+ - from_id:
+   - 6
    id: 8
    model: generationkwh.investment
    template: aportacio_mail_creacio

Check warning on line 0 in om_generationkwh.tests.investment_tests.InvestmentTests.test__create_from_form__sendsCreationEmailGKW

See this annotation in the file changed.

@github-actions github-actions / Test Results

som_generationkwh.tests.investment_tests.InvestmentTests.test__create_from_form__sendsCreationEmailGKWH (om_generationkwh.tests.investment_tests.InvestmentTests.test__create_from_form__sendsCreationEmailGKW) failed

test-results/destral/som_generationkwh.xml [took 0s]
Raw output
Failure At som_generationkwh.tests.investment_tests.InvestmentTests.test__create_from_form__sendsCreationEmailGKWH
Traceback (most recent call last):
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 549, in test__create_from_form__sendsCreationEmailGKWH
    account_id = self._generationMailAccount(cursor, uid),
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 110, in assertMailLogEqual
    self.assertNsEqual(log or '{}', expected)
  File "/home/runner/work/somenergia-generationkwh/plantmeter/plantmeter/testutils.py", line 34, in assertNsEqual
    return self.assertMultiLineEqual(dict1.dump(), dict2.dump())
AssertionError: 'logs:\n- from_id: 4\n  id: 9\n  model: generationkwh.investment\n  template: ge [truncated]... != 'logs:\n- from_id:\n  - 4\n  id: 9\n  model: generationkwh.investment\n  templat [truncated]...
  logs:
- - from_id: 4
?           --
+ - from_id:
+   - 4
    id: 9
    model: generationkwh.investment
    template: generationkwh_mail_creacio

Check warning on line 0 in om_generationkwh.tests.investment_tests.InvestmentTests.test__interest__oneInvoiceAP

See this annotation in the file changed.

@github-actions github-actions / Test Results

som_generationkwh.tests.investment_tests.InvestmentTests.test__interest__oneInvoiceAPO (om_generationkwh.tests.investment_tests.InvestmentTests.test__interest__oneInvoiceAP) failed

test-results/destral/som_generationkwh.xml [took 0s]
Raw output
Failure At som_generationkwh.tests.investment_tests.InvestmentTests.test__interest__oneInvoiceAPO
Traceback (most recent call last):
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 2641, in test__interest__oneInvoiceAPO
    account_id=self._aportaMailAccount(cursor, uid),
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 110, in assertMailLogEqual
    self.assertNsEqual(log or '{}', expected)
  File "/home/runner/work/somenergia-generationkwh/plantmeter/plantmeter/testutils.py", line 34, in assertNsEqual
    return self.assertMultiLineEqual(dict1.dump(), dict2.dump())
AssertionError: 'logs:\n- from_id: 6\n  id: 61\n  model: account.invoice\n  template: aportacio_ [truncated]... != 'logs:\n- from_id:\n  - 6\n  id: 61\n  model: account.invoice\n  template: aport [truncated]...
  logs:
- - from_id: 6
?           --
+ - from_id:
+   - 6
    id: 61
    model: account.invoice
    template: aportacio_interest_notification_mail

Check warning on line 0 in om_generationkwh.tests.investment_tests.InvestmentTests.test__investment_payment__oneAP

See this annotation in the file changed.

@github-actions github-actions / Test Results

som_generationkwh.tests.investment_tests.InvestmentTests.test__investment_payment__oneAPO (om_generationkwh.tests.investment_tests.InvestmentTests.test__investment_payment__oneAP) failed

test-results/destral/som_generationkwh.xml [took 0s]
Raw output
Failure At som_generationkwh.tests.investment_tests.InvestmentTests.test__investment_payment__oneAPO
Traceback (most recent call last):
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 1263, in test__investment_payment__oneAPO
    account_id = self._aportaMailAccount(cursor, uid),
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 110, in assertMailLogEqual
    self.assertNsEqual(log or '{}', expected)
  File "/home/runner/work/somenergia-generationkwh/plantmeter/plantmeter/testutils.py", line 34, in assertNsEqual
    return self.assertMultiLineEqual(dict1.dump(), dict2.dump())
AssertionError: 'logs:\n- from_id: 6\n  id: 63\n  model: account.invoice\n  template: aportacio_ [truncated]... != 'logs:\n- from_id:\n  - 6\n  id: 63\n  model: account.invoice\n  template: aport [truncated]...
  logs:
- - from_id: 6
?           --
+ - from_id:
+   - 6
    id: 63
    model: account.invoice
    template: aportacio_mail_pagament

Check warning on line 0 in om_generationkwh.tests.investment_tests.InvestmentTests.test__investment_payment__oneGKW

See this annotation in the file changed.

@github-actions github-actions / Test Results

som_generationkwh.tests.investment_tests.InvestmentTests.test__investment_payment__oneGKWH (om_generationkwh.tests.investment_tests.InvestmentTests.test__investment_payment__oneGKW) failed

test-results/destral/som_generationkwh.xml [took 0s]
Raw output
Failure At som_generationkwh.tests.investment_tests.InvestmentTests.test__investment_payment__oneGKWH
Traceback (most recent call last):
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 1237, in test__investment_payment__oneGKWH
    account_id = self._generationMailAccount(cursor, uid),
  File "/home/runner/work/somenergia-generationkwh/erp/server/bin/addons/som_generationkwh/tests/investment_tests.py", line 110, in assertMailLogEqual
    self.assertNsEqual(log or '{}', expected)
  File "/home/runner/work/somenergia-generationkwh/plantmeter/plantmeter/testutils.py", line 34, in assertNsEqual
    return self.assertMultiLineEqual(dict1.dump(), dict2.dump())
AssertionError: 'logs:\n- from_id: 4\n  id: 64\n  model: account.invoice\n  template: generation [truncated]... != 'logs:\n- from_id:\n  - 4\n  id: 64\n  model: account.invoice\n  template: gener [truncated]...
  logs:
- - from_id: 4
?           --
+ - from_id:
+   - 4
    id: 64
    model: account.invoice
    template: generationkwh_mail_pagament