summaryrefslogtreecommitdiff
path: root/saharaclient/tests/unit/test_jobs.py
Commit message (Collapse)AuthorAgeFilesLines
* Adding ability to unset fields with update callsAndrey Pavlov2016-01-291-0/+18
| | | | | | | | | | Adding a sentinel object that will be used as a default value in update methods. This object will allow to distinguish whether a field should be unset or should not be updated. Change-Id: Ie6679c8f64623e8570176b8009380b08de2be6a5 Closes-bug: #1534050
* Adding missed public/protected support for jobs creationAndrey Pavlov2015-09-081-1/+3
| | | | | | Closes-bug: #1493241 Change-Id: I2ad8044b4a8592b4624ee16381dfec21b95765f3
* Support updates and ACL for objectsSergey Lukjanov2015-08-281-0/+18
| | | | | | | | | | | | | | | | | | | It implements PATCH updates for clients, updates support for all objects and is_public/is_protected support. It's a combination of parts of the follwing patches (squashed to make review and merge gating easier and faster): I3abc57b43d825d69129f9c0b2058d1e2a004c832 I0d1d892ce11c9a3b46c8583ed58f9131a0f915a3 Co-Authored-By: luhuichun <huichun.lu@intel.com> Co-Authored-By: Andrey Pavlov <apavlov@mirantis.com> Co-Authored-By: Vitaly Gridnev <vgridnev@mirantis.com> Change-Id: I5a0156b7effc59ef3d183b0caacb6980c27f425c Partially-Implements: blueprint api-for-objects-update Partially-Implements: blueprint shared-protected-resources
* Fix backward compat issue for job interfaces0.10.1Sergey Lukjanov2015-08-191-2/+1
| | | | | | Closes-bug: #1486469 Change-Id: Ib7a930cfd1757c3b8cfd3c89a75856c25e7dcdda
* Adding interface argument for job template and jobEthan Gafford2015-07-201-2/+4
| | | | | | Partially implements: blueprint unified-job-interface-map Change-Id: Ie61ae1799458056fff7390895bc929efb5a53381
* Use requests-mock for mockingJamie Lennox2015-01-161-29/+22
| | | | | | | Use the requests-mock library for stubbing out our requests rather than matching via mock directly. Change-Id: Ifed4457619448c330044492b513c116c3f7e266a
* Added unit tests for python bindingsPavlovAndrey2014-11-271-0/+91
Change-Id: I6ca2af79cc8e915de12985cacccc173cd6cdbc71 implements bp: python-saharaclient-unit-tests