omaciel/robottelo — pull request #861 by omaciel (2014-06-03 14:25:30+00:00)
Title: Organization deletion by ID, Name and Label.

Updated test that deleted organization by ID to use the organization ID
instead of its name, now that you can be specific about deleting by
either ID, Name, or Label via the CLI. Also removed Bugzilla decorator
and added individual tests for each test.

```bash
$ nosetests -c robottelo.properties tests/foreman/cli/test_org.py:TestOrg.test_bugzilla_1076568_1 tests/foreman/cli/test_org.py:TestOrg.test_bugzilla_1076568_2 tests/foreman/cli/test_org.py:TestOrg.test_bugzilla_1076568_3
2014-06-03 10:17:58 - robottelo - INFO - Paramiko instance prepared (and would be reused): 0x1037258d0
@test: Delete organization by name ... ok
@test: Delete organization by ID ... ok
@test: Delete organization by label ... ok

----------------------------------------------------------------------
XML: foreman-results.xml
----------------------------------------------------------------------
Ran 3 tests in 96.847s

OK
```

and

```bash
$ nosetests -c robottelo.properties -m test_positive_delete_1 tests/foreman/cli/test_org.py
2014-06-03 10:20:29 - robottelo - INFO - Paramiko instance prepared (and would be reused): 0x10ddcf910
@test: Create organization with valid values then delete it ... ok

----------------------------------------------------------------------
XML: foreman-results.xml
----------------------------------------------------------------------
Ran 1 test in 30.862s

OK
```