deb-python-monascaclient/monascaclient
Craig Bryant 537389cad3 Fix notification-patch CLI fails if type not given
The type field was always being sent to the API even if a value wasn't
given. Change code to only send type field if --type was actually used
as an argument

Added tests for this case

Change-Id: Idb495eceb189db341753fd82be57d414e17cd64b
Closes-Bug: #1664326
2017-02-13 22:23:38 -07:00
..
apiclient Add __ne__ built-in function 2016-11-29 09:25:45 +08:00
common Don't send X-Auth- headers in requests 2017-01-12 09:04:54 -07:00
tests Fix notification-patch CLI fails if type not given 2017-02-13 22:23:38 -07:00
v2_0 Fix notification-patch CLI fails if type not given 2017-02-13 22:23:38 -07:00
__init__.py Update copyright in monascaclient 2016-06-09 12:21:18 -06:00
client.py Add support for new rest api notification-type-list 2016-07-26 12:17:09 -07:00
exc.py Fix __str__ not returning a String for KeystoneException 2016-07-12 13:32:34 -06:00
ksclient.py Use correct ENV variables for scoping 2016-11-14 09:46:15 +00:00
shell.py Use correct ENV variables for scoping 2016-11-14 09:46:15 +00:00