Skip to content

Commit

Permalink
Add back necessary import.
Browse files Browse the repository at this point in the history
Unit tests are failing because an import of glance/common/config.py was removed.
When it is imported it registers a few common cfg opts that otherwise would not
be registered. If this doesn't happen then unittests will fail since they expect
those opts.

Change-Id: Ib90c0af3d935243fd0aa8487131305f6843c1330
  • Loading branch information
ameade committed Aug 20, 2012
1 parent 564c11e commit bcb7729
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions glance/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

import nose.plugins.skip

# NOTE(ameade): this import is necessary so that common cfg opts are registered
from glance.common import config
from glance.common import utils
from glance.common import wsgi
from glance import context
Expand Down

0 comments on commit bcb7729

Please sign in to comment.