tests/tools_dbmaint_unittest.py test problems

Bug #824392 reported by Lars Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Medium
Lars Butler

Bug Description

Two issues:

1) The expected results in 'test_run_cmd_with_errors' and 'test_run_cmd_with_errors_and_ignore_exit_code' are Linux-specific outputs; these tests fail on OSX dev machines.
2) tools_dbmaint_unittest.py is not actually run as part of the whole test suite (run_tests.py, for example), which is why didn't catch this problem earlier. One way to fix this is to add 'from tools_dbmaint_unittest import *' to tests/__init__.py

Tags: testing
description: updated
Changed in openquake:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Lars Butler (lars-butler)
milestone: none → 0.4.3
Revision history for this message
Lars Butler (lars-butler) wrote :
Changed in openquake:
status: In Progress → Fix Committed
tags: added: testing
Changed in openquake:
status: Fix Committed → Fix Released
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.