Thoroughly test pulp_rpm.extension.admin.iso.structure.

This commit achieves 100% test coverage on the structure module.
Use a Mock's return value instead of declaring it.
Add a Mock autospec statement.
Merge branch 'rbarlow-test-iso-cli-structure' into pulp-2.2