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>
changed run_volumes to run as a subsubtest for later expansion

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

Signed-off-by: James Molet <jmolet@redhat.com>
docker tests: adds history test.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
docker test: run pull only once.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest.xceptions: Fix non-defaulting param bug.

When autotest tries to pickle/unpickle exceptions,
it requires all exception parameters accept defaults
before it will re-raise them with correct parameters.
Added some sensible default values for the one exception
that was causing the most trouble.

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...run_volumes: pep8 fixes

Real pep8 work done by jzupka@redhat.com

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

Dockertest Version 0.6.2 (No API Changes)
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>