tests does not execute properly

Bug #1475929 reported by Erno Kuvaja
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
New
Undecided
Unassigned

Bug Description

Some of Freezer tests uses pytest.raises(<exception>, f(x)) syntax that does not exercise the code but just "succeeds". Correct syntax would be pytest.raises(<exception>, "f(x)") or pytest.raises(<exception>, f, x)

Erno Kuvaja (jokke)
description: updated
Revision history for this message
Oleksiy Petrenko (enacero) wrote :

I think this bug can be closed, since freezer do not use pytest lib.

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.