docker test: export import

Signed-off-by: Jiří Župka <jzupka@redhat.com>
docker test: Adds save load tests.

Signed-off-by: Jiří Župka <jzupka@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>
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>
re-add test cases information into index.rst

Signed-off-by: xhe <xhe@redhat.com>
update negative test cases for docker run

Signed-off-by: xhe <xhe@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>
subtests...invalid: Fix indentation, whitespace, pep8

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests...invalid: Reduce non-verbose output

Signed-off-by: Chris Evich <cevich@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)