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

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.9
    • 5.9
    • PySide
    • None
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            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