Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-575

tests: QMimeDatabase: Use default language for test (LANG=C)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.9
    • Fix Version/s: 5.9
    • Component/s: PySide
    • Labels:
      None
    • Commits:
      0fcc3d434fcfdb4913ae5b87016d4cf8bce0890d

      Description

      When the system language is not English or unset (LANG=C), then the test will fail, but the result is just fine.

      See:

       

      ======================================================================
      FAIL: testMimeTypeForName (__main__.QMimeDatabaseTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/thopiekar/Projekte/GIT/thopiekar/pyside-setup/sources/pyside2/tests/QtCore/qmimedatabase_test.py", line 46, in testMimeTypeForName
      self.assertEqual(s0.comment(), "empty document")
      AssertionError: 'Leeres Dokument' != 'empty document'
      - Leeres Dokument
      + empty document
       
      

       

        Attachments

        For Gerrit Dashboard: PYSIDE-575
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            thopiekar Thomas-Karl Pietrowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes