- Updated cli/api smoke tests to use org_label with SM cmd
- Also randomly generating org_name with diff encodings
Update PERMISSIONS constant

Add container and mail notification permissions
Merge pull request #1664 from sghai/fix-smoke-tests

Updated cli/api smoke tests to use org_label with SM cmd
Merge pull request #1663 from elyezer/update-permissions

Update PERMISSIONS constant
Update CLI product test_remove_syncplan_1

hammer product remove-sync-plan does not require a sync-plan-id as the
relation of product and sync-plan is one to one.

Also improve formatting.
Merge pull request #1667 from elyezer/fix-cli-product-test

Update CLI product test_remove_syncplan_1
Update failing CLI content view tests

Update field lookup from repositories to yum-repositories on content
view info output.

Wrap unwrapped CLI factory calls with try/except.

Skip test_cv_associate_composite_dupe_modules_negative because a bug (BZ
1162799) that prevents that a puppet module to be added to a content
view by its name.

Use random choice to select a puppet module to be added instead of aways
getting the first one available.

Update field lookup from lifecycle-environments to environments for
content view info output.

"Readability counts."
Added multi-threading support for API
Usage
--------
make test-foreman-api-threaded

Before
------
Ran 759 tests in 1608.000s

FAILED (SKIP=99, errors=25, failures=10)
make: *** [test-foreman-api] Error 1

After
-----
Ran 742 tests in 287.268s

FAILED (SKIP=99, errors=12, failures=8)
make: *** [test-foreman-api] Error 1

Most additional errors are 500 Server Errors.
Because IDs are issued using sequences, we should not encounter
erroneous results, due to ID collisions.
Set longMessage to True for all TestCase classes

The longMessage will show on failures the defined message and also the
default assert message which will provide more information about the
failures.
Merge pull request #1668 from elyezer/update-cli-cv-tests

Update failing CLI content view tests
Merge pull request #1666 from JacobCallahan/multi-threading

Added multi-threading support for API
Skip tests due to BZ 1162860

Using a non-admin user to do anything causes an exception to be thrown with the
following error messages:

    {"error": {"message":"LdapError: No such address or other socket error."}}

Skip tests that fail due to this error. Before the change:

    $ nosetests tests/foreman/api/test_permission.py:UserRoleTestCase
    EEEEEEEE
    …

    ----------------------------------------------------------------------
    Ran 8 tests in 38.272s

    FAILED (errors=8)

After the change:

    setests tests/foreman/api/test_permission.py:UserRoleTestCase
    SSSSSSSS
    ----------------------------------------------------------------------
    Ran 8 tests in 16.383s

    OK (SKIP=8)
Make the Domain entity match the API documenation

The API documentation states that an extra hash should be used when creating
domains.

    >>> entities.Domain().create_raw().status_code
    201
Merge pull request #1669 from Ichimonji10/bz-1162860

Skip tests due to BZ 1162860
Merge pull request #1670 from Ichimonji10/domain-entity

Make the Domain entity match the API documenation
Skipping cli failure on test_ping with a new redmine issue
Merge pull request #1672 from sthirugn/clifix

Skipping cli failure on test_ping with a new redmine issue
Update CLI host test_positive_create_1

Host creation now requires location and organization.

Add make_location CLI factory.
Merge pull request #1673 from elyezer/update-cli-test-host

Update CLI host test_positive_create_1
Update CLI test_hammer_ping

Hammer ping requires username and password to work properly. Update the
test to grab the username and password from the properties file and them
when running the command.

Remove skip decorator as the test will run fine now.