diff options
| author | Tang Chen <chen.tang@easystack.cn> | 2016-02-23 00:14:56 +0800 |
|---|---|---|
| committer | Tang Chen <chen.tang@easystack.cn> | 2016-02-23 00:14:56 +0800 |
| commit | c57fc41c33df58237f6b3ec8a5b2a0ff9573da2e (patch) | |
| tree | 24f62d0e5cf613dedc70eddd40a2af0aeeff3310 /openstackclient/tests/object | |
| parent | ba08683d90277e3cc6f943a2a994ccf08589cb1a (diff) | |
| download | python-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/tests/object')
0 files changed, 0 insertions, 0 deletions
