Congress tests import fakes from novaclient
Bug #1364515 reported by
Aaron Rosen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
congress |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently in a few places in the code the congress unit tests import fakes from the novaclient (congress/
Changed in congress: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/119734 /git.openstack. org/cgit/ stackforge/ congress/ commit/ ?id=ef2f6f6931d 213366568032d04 d466d54c890823
Committed: https:/
Submitter: Jenkins
Branch: master
commit ef2f6f6931d2133 66568032d04d466 d54c890823
Author: ubuntu <email address hidden>
Date: Mon Sep 8 04:18:04 2014 -0700
Replace fakes.FakeClient inheritence with Mock
NovaFakeClient had fakes.FakeClient as a super classes.
This dependency broke the build as the interface was not
well defined
Replace the super classe FakeClient with MagicMock and implement
the local return types as mock object
Closes-bug: 1364515 a824a5a0759f450 766b08b2dab
Change-Id: I746daf38f985eb