dockertest: Fix reaction to missing subsubtests variable in config.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
dockertest: fix docker daemon to works properly for systemd.

try to stop service.socket to be sure that service will not start.

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

Signed-off-by: Jiří Župka <jzupka@redhat.com>
docker_daemon: Adds documentation for restart tests.

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

Daemon restart
dockertest.environment: Add support for INI config parser

this parser automatically gathers info from INI files about the subtest
configuration and prints it into the subtest documentation.

It requires #: prefix to store the value as description of following
configuration option.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
config_defaults: Use **string** to emphasize action required

Use **text** to emphasize description of variables, which need to be
changed before using the test.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
Add independent documentation module

*  Avoid playing games with docutils module w/in environment module.
   Make dedicated module for documentation rendering.
*  Break down classes further into a more managable tree w/ defined
   extension points.
*  Update all docstrings, add many more comments.
*  Update unittests
*  Updated Makefile to use new module + classes
*  Updated run_checkdocs.py to use new module + classes

Signed-off-by: Chris Evich <cevich@redhat.com>
Minor updates/cleanups to documentation module

Signed-off-by: Chris Evich <cevich@redhat.com>
dockertest.documentation: Integrate INI parser

*  Class and static method name changed, but interface
   and behavior same.  Update ConfigINIParser.__init__() to use
   SubtestDoc.module_filenames(root_path).
*  Removed unnecessary support for nested keys and hiding
   certain types of format-parsing errors.  Added unittests
   to verify some DocBase class methods & behavior.
*  Pull in default config. section docs by way of prefixing
   subtest list with documentation substitution key.

Signed-off-by: Chris Evich <cevich@redhat.com>
Docs: Strip config. section from all docstrings

*  Some empty-section removal
*  Some re-numbering of steps

Signed-off-by: Chris Evich <cevich@redhat.com>
Docs: Config docs + INI parser integration fixes

*  Removed unnecessary NoOverwriteDict class
*  Removed unnecessary RSTDoc subclass
*  Moved generic translater methods back onto DocBase
*  Included & Adapted Sphinx's rst -> text writer
*  Added a doctree -> text method
*  Changed default render (conv) method on SubtestDoc
   to raw (i.e. rst) output
*  Added a text-summary render (conv) method to SubtestDoc
*  Updated Makefile and Unittests

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