Impossible to execute storage tests selectively due to missing import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Undecided
|
Balazs Gibizer |
Bug Description
Storage tests fail if they are executed selectively due to missing gettextutils import in ceilometer.
$ tox -e py27 -- storage.
...
FAIL: tests.storage.
tags: worker-1
-------
Empty attachments:
pythonlogging
traceback-1: {{{
Traceback (most recent call last):
File "ceilometer/
return func(*args, **kwargs)
File "/opt/stack/
self.
File "ceilometer/
raise NotImplementedE
NameError: global name '_' is not defined
}}}
...
Ran 430 (-88) tests in 11.444s (-3.566s)
FAILED (id=6, failures=64 (-46), skips=47)
error: testr failed (1)
$
Adding the missing import solves the problem:
diff --git a/ceilometer/
index 3ffbf17..dada7de 100644
--- a/ceilometer/
+++ b/ceilometer/
@@ -23,6 +23,7 @@ import datetime
import math
import six
+from ceilometer.
from ceilometer.
Changed in ceilometer: | |
assignee: | nobody → Balazs Gibizer (balazs-gibizer) |
Changed in ceilometer: | |
milestone: | none → icehouse-3 |
milestone: | icehouse-3 → icehouse-2 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | icehouse-2 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/64667
Review: https:/