Invalid reference to self in functional test test_scrubber.py
In the test_scrubber.py the function wait_for_scrub() makes a
reference to self even tho it is not a member of any class and
has no such reference in its scope. This patch makes that
function a method in the test class so that it can assert the
failure which it intends.
Reviewed: https:/ /review. openstack. org/25966 github. com/openstack/ glance/ commit/ 07eda706f43c907 b1d212a48c6b951 4d83bbcdc1
Committed: http://
Submitter: Jenkins
Branch: master
commit 07eda706f43c907 b1d212a48c6b951 4d83bbcdc1
Author: John Bresnahan <email address hidden>
Date: Tue Apr 2 13:57:53 2013 -1000
Invalid reference to self in functional test test_scrubber.py
In the test_scrubber.py the function wait_for_scrub() makes a
reference to self even tho it is not a member of any class and
has no such reference in its scope. This patch makes that
function a method in the test class so that it can assert the
failure which it intends.
fixes bug: 1163617
Change-Id: I453c8097363dc2 f7577fd807ffe8c bc613078258