omaciel/robottelo — pull request #438 by omaciel (2014-03-03 15:09:53+00:00)
Title: Make the Create method for CLI return new object.

The Create method for CLI will now return the newly created object, with
all its attributes, including the resource ID. Also updated all factory
methods to return the new object.

```python
In [9]: from robottelo.cli.factory import *

In [10]: make_org()
Out[10]:
{'created-at': '2014/03/03 15:05:03',
'description': '""',
'id': '7',
'label': '36wmj49',
'name': '36wmj49',
'updated-at': '2014/03/03 15:05:03'}

In [11]: make_user()
Out[11]:
{'admin': None,
'auth-source-id': 1,
'created-at': '2014/03/03 15:05:21',
'email': 'q1gfbn@example.com',
'firstname': 'x0nbj',
'id': '6',
'last-login': '""',
'lastname': 'rbdaa34q',
'login': 'q1gfbn',
'mail': 'q1gfbn@example.com',
'name': 'x0nbj rbdaa34q',
'password': 'ygfg',
'updated-at': '2014/03/03 15:05:21'}
```