docker test: Adds save load tests.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
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>
Initial commit of diff tests

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

Signed-off-by: Chris Evich <cevich@redhat.com>
Merge branch 'save_load' of https://github.com/jzupka/autotest-docker into docker_0.6.3
subtests.docker_cli.start: Fix the conversion to subSubTest

During the conversion of this test the `self` instead of `self.parent_subtest`
was passed to the framework functions causing failures.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
dockertest.containers: Make --size optional

If/when callers or subclasses depend on this data,
they may change the instance attribute ``get_size`` to ``True``.
When ``False``, the size field simply contains a ``None`` value.

To not break existing interface, the default value is ``True``
but will likely change in the near future.

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.subtest: Make config_section optional

*  For all existing subtests, this instance attribute
   can easily be derrived from the relative filesystem location
   of the test.  Though this is not always the case, when
   possible, attempt to auto-generate the string.  When that
   fails, pull in the defaults.

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

Signed-off-by: James Molet <jmolet@redhat.com>
fixed underlines in docs

Signed-off-by: James Molet <jmolet@redhat.com>
Merge branch 'diff' of https://github.com/Lorquas/autotest-docker into docker_0.6.3
subtests...diff: Minor cleanups

Signed-off-by: Chris Evich <cevich@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>
run_pylint: Quiet irrelevant / false-positives messages

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest: Fix some TODO's

*  Some could just be removed
*  Added a new verify_output attribute to the
   CLI classes of images/containers
*  Made just the high-level methods pass
   result through OutputGood when enabled.

Signed-off-by: Chris Evich <cevich@redhat.com>
envchecks: Pythonify non-default-images

Signed-off-by: Chris Evich <cevich@redhat.com>
Merge pull request #84 from cevich/docker_0.6.3

Dockertest Version 0.6.3 (No API Changes)