subtests.docker_cli: Add new test run_volumes_selinux

This test uses `docker run --volume ::Z/z` and checks it sets the
selinux context properly.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Merge pull request #388 from ldoktor/selinux_volumes

subtests.docker_cli: Add new test run_volumes_selinux
subtests.docker_cli.run_volumes_selinux: Remove libselinux dependency

Use `ls --scontext` instead of libselinux-python which might not be
present on all systems.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Merge pull request #391 from ldoktor/selinux_volumes

subtests.docker_cli.run_volumes_selinux: Remove libselinux dependency
dockertest: Speed up subsubtest config creating by deep copy-able version.

Creation of subsubtests instance took quite a long time because
deep copy of configuration took a long time.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: Fix some tests.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtests: fixes tests errors.

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

subtests: Fix tests errors
Merge pull request #394 from jzupka/config_speedup

dockertest: Speed up subsubtest config creating by deep copy-able version.
subtests: Adds docker exec tests.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
Docs: Fix class-attribute use omission

It was an intended extension point for SubtestDoc
instances to alter their configuration representation
if needed.  However this hook was never tied in to
the actual usage by mistake.

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

Docs: Fix class-attribute use omission
Merge pull request #392 from jzupka/exec_test

subtests: Adds docker exec tests.
dockertest.images: Add default image FQIN property

Simply a convenience, since the majority of the time
callers use ``DockerImage.full_name_from_defaults(self.config)`` and
this class already has access to the subtest configuration.

Signed-off-by: Chris Evich <cevich@redhat.com>
Docker: Add negative usage test

Signed-off-by: Chris Evich <cevich@redhat.com>
subtests: Fix minor exception message typo

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

Docker: Add negative usage test
subtests: Fix no need parent_subtests any more.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: Removes docker interfaces.

We was decided by long discusion that other interfacec like CLI
will not be used in docker test framework. Then they could
be removed.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: Cleanup dockercmd module.

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