Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyoo v1.5.dev and LO7.1 Issues with test.py #12

Open
LinuksGuru opened this issue Jul 12, 2021 · 0 comments
Open

pyoo v1.5.dev and LO7.1 Issues with test.py #12

LinuksGuru opened this issue Jul 12, 2021 · 0 comments

Comments

@LinuksGuru
Copy link

Hi,

I have run test.py with LO 7.1.4.2 on SuSE Leap and 3 tests out of 185 have failed, with these errors.
Thanks in advance for review and fix.

[code]

ERROR: test_delete_columns_raise (main.SheetTestCase)

Traceback (most recent call last):
File "test.py", line 1096, in test_delete_columns_raise
sheet.delete_columns(1,-1)
File "/usr/lib/python3.6/site-packages/pyoo.py", line 1607, in delete_columns
self._target.Spreadsheet.Columns.removeByIndex(column_index, number_of_columns)
pyoo.com.sun.star.uno.RuntimeException: /home/abuild/rpmbuild/BUILD/libreoffice-7.1.4.2/sc/source/ui/unoobj/docuno.cxx:4008

======================================================================
ERROR: test_delete_rows_raise (main.SheetTestCase)

Traceback (most recent call last):
File "test.py", line 1103, in test_delete_rows_raise
sheet.delete_rows(1,-1)
File "/usr/lib/python3.6/site-packages/pyoo.py", line 1604, in delete_rows
self._target.Spreadsheet.Rows.removeByIndex(row_index, number_of_rows)
pyoo.com.sun.star.uno.RuntimeException: /home/abuild/rpmbuild/BUILD/libreoffice-7.1.4.2/sc/source/ui/unoobj/docuno.cxx:4252

======================================================================
FAIL: test_series_line_color (main.ChartsTestCase)

Traceback (most recent call last):
File "test.py", line 959, in test_series_line_color
"Setting line color of diagram series is sometimes ignored"
AssertionError: 16711680 != 0 : Setting line color of diagram series is sometimes ignored so this test sometimes fails.

======================================================================
FAIL: test_delete_columns_multiple (main.SheetTestCase)

Traceback (most recent call last):
File "test.py", line 1091, in test_delete_columns_multiple
self.assertEqual('Will NOT be deleted', sheet[0, 10].value)
AssertionError: 'Will NOT be deleted' != ''

  • Will NOT be deleted

======================================================================
FAIL: test_delete_rows_multiple (main.SheetTestCase)

Traceback (most recent call last):
File "test.py", line 1079, in test_delete_rows_multiple
self.assertEqual('Will NOT be deleted', sheet[10, 0].value)
AssertionError: 'Will NOT be deleted' != ''

  • Will NOT be deleted

Ran 185 tests in 5.611s

FAILED (failures=3, errors=2)
[/code]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant