MySQL tests are disabled/do not work with Python3

Bug #1433266 reported by Adam Israel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charm Helpers
New
Undecided
Unassigned

Bug Description

While adding an unrelated unit test, I discovered that the tests in tests/contrib/database/test_mysql.py are disabled. I re-enabled them to see what would happen, fixed a python3 incompatibility in contrib/database/mysql.py, and ran `make test`.

The unit test, while only having 28% coverage, passes under Python2 but fails under Python3.

Tags: python3
Revision history for this message
Adam Israel (aisrael) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.