ironic/ironic
Ruby Loo 8e95cdf8ec Replace dict.get(key) in api & conductor tests
This replaces dict.get(key) with dict[key] in
tests/unit/api & tests/unit/conductor, since we should
be explicit about whether we expect the key to exist or not.

In particular, we shouldn't be doing
    self.assertIsNone(dict.get(key))
since it will pass if 1. the value is None or 2. if the key isn't
in the dict. For the case of 2, .assertIsNone() is replaced with
.assertNotIn().

Change-Id: Ia305a221389e39d759b0881620c200c625fc98e1
Closes-Bug: #1590808
2016-06-23 20:43:33 -04:00
..
api Removes the use of mutables as default args 2016-06-19 10:27:48 -07:00
cmd Replace logging constants with oslo.log 2016-04-26 16:38:51 +08:00
common Create common neutron module 2016-06-23 11:47:50 +03:00
conductor Merge "Centralize config options - [conductor]" 2016-06-21 18:52:39 +00:00
conf Create common neutron module 2016-06-23 11:47:50 +03:00
db Centralize config options - [database] 2016-06-16 17:04:49 -07:00
dhcp Create common neutron module 2016-06-23 11:47:50 +03:00
drivers Merge "Deployment vmedia operations to run when cleaning" 2016-06-23 16:16:09 +00:00
locale Imported Translations from Zanata 2016-06-11 07:09:11 +00:00
nova Update resources only for specific node during deletion. 2016-04-29 19:16:12 +00:00
objects Extend the Conductor RPC object 2016-03-18 13:18:55 +00:00
tests Replace dict.get(key) in api & conductor tests 2016-06-23 20:43:33 -04:00
__init__.py Move eventlent monkeypatch out of cmd/ 2014-02-08 00:11:56 -08:00
netconf.py Make use of oslo-config-generator 2016-05-25 11:59:13 +08:00
version.py Correct version.py and update current version string 2014-03-21 13:50:05 -07:00