Fake test logger didn't appointed to an instance attribute.
Bug #1289403 reported by
Ilya Pekelny
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo-incubator |
Fix Released
|
Medium
|
Ilya Pekelny |
Bug Description
Fake logger didn't appointed to an instance attribute https:/
From FakeLogger docstring follows:
test_log(self)
fixture = self.useFixture
A fake logger instance has a property `output` which must be accessible from BaseTestCase subclasses instances.
Changed in oslo: | |
assignee: | nobody → Ilya Pekelny (i159) |
status: | New → In Progress |
description: | updated |
Changed in oslo: | |
importance: | Undecided → Medium |
milestone: | none → icehouse-rc1 |
Changed in oslo: | |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/78993 /git.openstack. org/cgit/ openstack/ oslo.test/ commit/ ?id=7d06dac0c0f ba493c622745572 15ac339a1e9093
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7d06dac0c0fba49 3c62274557215ac 339a1e9093
Author: Ilya Pekelny <email address hidden>
Date: Fri Mar 7 17:34:34 2014 +0200
Fake logger as instance attribute
Fake logger returned by fixtures.FakeLogger must be BaseTestCase instance
attribute. Suchwise fake logger is accesible in BaseTestCase subclasses.
Closes-Bug: #1289403 0f031ba15d7f88e 83b8be6f413
Change-Id: I44afc23483f3bf