inital commit of inspect test

changed inspect test to subsubtest

Signed-off-by: James Molet <jmolet@redhat.com>

added test inspect_container_simple

Signed-off-by: James Molet <jmolet@redhat.com>

added docs for inspect tests

Signed-off-by: James Molet <jmolet@redhat.com>
subtests..run_simple: A few cleanups

*  Declare locals instead of keep referencing config option
*  Missing space on logging line
*  Check if pid is really still running after wait start

Signed-off-by: Chris Evich <cevich@redhat.com>
fixed underlines in docs

Signed-off-by: James Molet <jmolet@redhat.com>
docker test: little clenaup run_simple

Signed-off-by: Jiří Župka <jzupka@redhat.com>
Merge pull request #5 from jzupka/docker_run

docker test: little clenaup run_simple
isolated inspect_all test

Signed-off-by: James Molet <jmolet@redhat.com>
Dockertest Version 0.6.4 (No API Changes)

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.subtest: Pretty configuration logging

Signed-off-by: Chris Evich <cevich@redhat.com>
made error message clearer when no subsubtests are enabled

Signed-off-by: James Molet <jmolet@redhat.com>
Add negative-run test: invalid

* Added test
* Added test documentation

Signed-off-by: xhe <xhe@redhat.com>

* Fixed indentation, whitespace, pep8
* Reduce non-verbose output

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...build: Make more robust

*  Default to 64-bit busybox, support real URI's in config
*  Moved some include statements around
*  Added second '-' to '-rm' option
*  Added printing of build output

Note: This test will hang and timeout due to a bug in docker build
      when destination directory is a directory symlink.  See comment
      in source Dockerfile.

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

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests...export_import: Generalize & Simplify

Signed-off-by: Chris Evich <cevich@redhat.com>
Dockertest.dockercmd: Improve exception message

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.dockercmd:  False-positive pylint

Signed-off-by: Chris Evich <cevich@redhat.com>
Docker: Allow disable individual sub-subtest

*  Changed config get_boolean() method to
   examine very specific/defined set of strings
   for conversion.

*  Only log subtest configuration options
   if there will be no sub-subtests running.
   Subsubtests inherit the subtest configuration
   and if need to examine separately, the
   keyval log shows them apart.

*  Added DockerSubSubtestNAError exception
   specific to sub-subtests.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.subtest: Resolve minor fixme

* Sometimes warnings aren't logged, make sure this
  one gets noticed.

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

Both Subtests and sub-subtests are treated more like
plugins than actual python modules.  However this
introduces the problem that they cannot import modules
from their own directory w/o outside help/hacks.

This change modifies the default/example control file
to inject the subtest's full path at the beginning of
the module search path.  Success or failure it also
takes care of removing this modification and alterting
checking if the subtest left any further modifications.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.output: Remove disused variable

Signed-off-by: Chris Evich <cevich@redhat.com>
Docker: Pylint cleanup: unused imports

*  Disabled a few messages that can safely be ignored

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