Bug 1146938
| Summary: | Unittests fail when run against system and virtualenv | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Sunil Thaha <sthaha> | ||||
| Component: | openstack-glance | Assignee: | hguemar | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | nlevinki <nlevinki> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 5.0 (RHEL 7) | CC: | eglynn, fpercoco, hguemar, scohen, sgotliv, yeylon | ||||
| Target Milestone: | z4 | Keywords: | ZStream | ||||
| Target Release: | 5.0 (RHEL 7) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | openstack-glance-2014.1.3-4.el7ost | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-02-16 13:23:41 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Sunil Thaha
2014-09-26 11:50:39 UTC
We need to skip/fix/remove those tests. $ (rhos-5.0-patches branch)
$ git show git show d79f643c415c631ea455df0dce6efbce358155a8 # avoid unsupported storage drivers
[...SNIP..]
diff --git a/glance/tests/functional/store/__init__.py b/glance/tests/functional/store/__init__.py
index b6ecc50..880e230 100644
--- a/glance/tests/functional/store/__init__.py
+++ b/glance/tests/functional/store/__init__.py
@@ -69,7 +69,7 @@ class BaseTestCase(object):
def test_create_store(self):
self.config(known_stores=[self.store_cls_path])
count = glance.store.create_stores()
- self.assertEqual(8, count)
+ self.assertEqual(7, count)
def test_lifecycle(self):
"""Add, get and delete an image"""
This now needs to be packaged and the package patches updated.
@haikel: Whenever you've to create a new glance package, please update this bug. Thanks :)
I haven't answered yet but ack. It will be fixed in RDO and then, it'll be integrated in the upcoming glance rebase in RHOS. |