Proxy crud tests, should fix #1024,#1025,#1026
fixed pydoc
fixed mock-proxy generation
fixed all tests that sets the activation-key limit for content-hosts
Blocked role test with bz
updated long string line breaks under locators
comments
Fix entity definition as per BZ 1122261

Also: improve the output of error messages in test case `LongMessageTestCase`.
Updated entities.ActivationKey attribute.

Realized that the API for ``entities.ActivationKey`` uses
``max_content_host`` to limit its usage and not ``usage_limit`` as it
was previously thought.
Added new ActivationKey tests for API v2.

Added several new ActivationKey automated tests using the API v2.

```bash
$ nosetests -c robottelo.properties tests/foreman/api/test_activationkey_v2.py
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
@Test Create activationkey with limited content hosts but no limit set ... ok
@Test Create activationkey with limited content hosts but ... ok
@Test Create activationkey with limited content hosts but ... ok
@Test Create activationkey with limited content hosts but ... ok
@Test Create activationkey then update its max content hosts ... ok
@Test Create activationkey then update its max content hosts ... ok
@Test Create a plain vanilla activationkey ... ok
@Test Create an activationkey with limited content hosts ... ok
@Test Create an activationkey with limited content hosts ... ok
@Test Create activationkey with unlimited content hosts and set ... ok
@Test Create activationkey with unlimited content hosts and set ... ok
@Test Create activationkey with unlimited content hosts and set ... ok
@Test Create an activationkey providing the initial name. ... ok
@Test Create an activationkey providing the initial name. ... ok
@Test Create an activationkey providing the initial name. ... ok
@Test Create an activationkey providing the initial name. ... ok
@Test Create activationkey then update it to limited content hosts ... ok
@Test Create activationkey then update it to limited content hosts ... ok

----------------------------------------------------------------------
XML: ~/hacking/robottelo/foreman-results.xml
----------------------------------------------------------------------
Ran 18 tests in 68.013s

OK
```
Make factories respect entity kwargs.

Allow the following lines of code to act as expected:

    SomeEntity(name='foo').attributes()
    SomeEntity(name='foo').build()
    SomeEntity(name='foo').create()

Unfortunately, the value of `None` is not supported:

    SomeEntity(name=None).attributes()
    SomeEntity(name=None).build()
    SomeEntity(name=None).create()

See GitHub issue #1082 for more information.

Add tests for the following methods:

* `EntityFactoryMixin._factory_data`
* `Entity.get_values`
Fixed typo on docstring.
Wrapped all ``entity()create()`` with try/except.

As per feedback from Jeremy, I have wrapped all ``entity()create()``
calls with a try/except block, as well as formatted the arguments with
it.
Merge pull request #1089 from omaciel/activationkey-v2-api

Activationkey v2 api
Merge pull request #1085 from sghai/fix-test

fixed all tests that sets the activation-key limit
Merge pull request #1088 from Ichimonji10/minor-fixes

Fix entity definition as per BZ 1122261
Merge pull request #1090 from Ichimonji10/entity-kwargs

Make factories respect entity kwargs.
updated existing tests as per factory
added few boundary tests and converted existing tests to data-driven
Fixed os test: test_update_os_template