XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: Tests
    • Labels:
      None

      Description

      Running "python3 setup.py test" shows 2 test failures:

      ======================================================================
      ERROR: test_connection_default_file (test.integration.test_connection.TestConnection)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/linuxjedi/Programming/Git/mariadb-connector-python/test/integration/test_connection.py", line 38, in test_connection_default_file
          f.write("port=%i\n" % default_conf["port"])
      KeyError: 'port'
       
      ======================================================================
      ERROR: test_conpy67 (test.integration.test_cursor.TestCursor)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/linuxjedi/Programming/Git/mariadb-connector-python/test/integration/test_cursor.py", line 937, in test_conpy67
          cur.execute("SELECT 1 WHERE 1=2")
      mariadb.ProgrammingError: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE 1=2' at line 1
       
      ----------------------------------------------------------------------
      

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            LinuxJedi Andrew Hutchings
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: