summaryrefslogtreecommitdiff
path: root/openstackclient/api
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-02-23 00:14:56 +0800
committerTang Chen <chen.tang@easystack.cn>2016-02-23 00:14:56 +0800
commitc57fc41c33df58237f6b3ec8a5b2a0ff9573da2e (patch)
tree24f62d0e5cf613dedc70eddd40a2af0aeeff3310 /openstackclient/api
parentba08683d90277e3cc6f943a2a994ccf08589cb1a (diff)
downloadpython-openstackclient-c57fc41c33df58237f6b3ec8a5b2a0ff9573da2e.tar.gz
Initialize _keys in __init__() in FakeFlavorResource
_keys is defined as a class attribute in FakeFlavorResource. So when we call set_keys() to update it, it changes. And this change may bring trouble to the other tests afterward. So define and initialize it in __init__() as an object attribute. Change-Id: Ib18c03877b67e1b7c2e107f598076b928a58e4fb Closes-bug: #1548378
Diffstat (limited to 'openstackclient/api')
0 files changed, 0 insertions, 0 deletions