https://bugs.documentfoundation.org/show_bug.cgi?id=97361

            Bug ID: 97361
           Summary: Make unittests more pythonic
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: bjoern.michael...@canonical.com

Since:


http://cgit.freedesktop.org/libreoffice/core/commit/?id=af8143bc40cf2cfbc12e77c9bb7de01b655f7b30

one can write code that looks a lot more native and less cumbersome in
Python/PyUNO. Quite a few of our Python unittests where translated from old
Java tests and still contain boilerplate that is superficial in Python. This
EasyHack is to look at the existing Python tests and make them more readable by
using the added pythonic features.

code pointer:


http://cgit.freedesktop.org/libreoffice/core/commit/?id=af8143bc40cf2cfbc12e77c9bb7de01b655f7b30
 <module>/qa/python/<foo>.py
 https://wiki.documentfoundation.org/Development/Python_Unit_Tests

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to