Dockertest: Replace 'enabled' with 'disabled'

Enabling tests via ``--args`` on autotest command line
or running all tests is default.  No convenient way
to disable a test from inside dockertest.  The new
``disabled`` option, accepts subtest or subsubtest
CSV to bypass.

Signed-off-by: Chris Evich <cevich@redhat.com>
docker test: Attach test.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: DockerImages attribute bug

There is no ``__setattr__()`` to pass-through to the interface class,
so any attribute setting will only affect ``DockerImages`` instance.
This is not normally what is desired.  Add a ``__setattr__()``
method and fixup local attribute access to permit callers to
interact with interface instance as intended.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...rmi: Fix skip-list

A string is iterable, but a string is not a list.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests: Drop 'RUNNING' from logging

*  Consolidate log message formatting code.

*  Allow failif method w/o reason

Signed-off-by: Chris Evich <cevich@redhat.com>
containers:  debug logging when killing

Signed-off-by: Chris Evich <cevich@redhat.com>
images: Throw a real DockerCommandError

Some tests expect a DockerCommandError to be thrown
and will not accept a regular CmdError.  However,
this general behavior is wrong anyway because
callers should not be dependent on implementation-
specific exceptions.  Add a temporary band-aid
so DockerImagesCLI raises the expected exception.
Add a bunch of FIXME's to address the real problem
with some well-defined exception classes for common
conditions.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...rmi: Remove by id if name fails

If an image has no name, removal will fail.
Try again by id and throw exception if that fails.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...save_load: Fix fail message bug

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest: Make sure config_section always set

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...version: Minor fixup

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...version: Regex bug causing false-FAIL

Signed-off-by: Chris Evich <cevich@redhat.com>
documentation: Move __init__ docstrings to classes

*  Documentation renders by default with class
   init. params. in headline.  Since special
   methods are also generally hidden, it reads
   better if all init param docs are put in
   class-level docstring.

*  Commitments have been made to continuing this project
   officially, so removed warning message from beginning
   of docs and index.

Signed-off-by: Chris Evich <cevich@redhat.com>
Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Signed-off-by: James Molet <jmolet@redhat.com>
dockercmd: Raise Except. if subargs is a string

Signed-off-by: James Molet <jmolet@redhat.com>
dockertest: Mass-docstring + pep8 fix/cleanup

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest: Minor cleanups

*  Fully deprecated OutputGoodBase.output_good and
   updated unittests.

*  Fully deprecated SubSubtest.make_repo_name()

*  Officially declared environment.AllGoodBase.__init__
   as abstract.

*  Removed unnecessary TODO comment

Signed-off-by: Chris Evich <cevich@redhat.com>
Docker Autotest: Mass unused import cleanup

Signed-off-by: Chris Evich <cevich@redhat.com>
Docker Autotest: Mass abstract/static method cleanup

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.subtest: Pylint cleanups

Signed-off-by: Chris Evich <cevich@redhat.com>
run_pylint: Less-restrictions for subtests

Also added __init__ and private methods
to the exclusion list for documentation

Signed-off-by: Chris Evich <cevich@redhat.com>