avocado.core.data_dir: Refactor and introduce .get_data_dir()

Introduce data_dir.get_data_dir(), an API to retrieve the
value of the data dir, a place where we should store data
dir files used by tests, such as ISO files, VM image files,
reference jpeg/png files and the such.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.plugins: Add core plugin 'datadir'

Add a plugin that can list data directories used by
avocado. This way, we can easily glance what is being
used according to the settings available.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
.travis.yml: Remove unneeded deps, add flexmock

It'll be necessary for the data_dir unittest.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
unittests: Add datadir_unittest

Add one meager unittest that verifies part of the intended
behavior for the data_dir module.

This unittest requires flexmock, that was added to the
travis job in the previous commit.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
docs: Add data_dir documentation

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #39 from avocado-framework/data-dir

Data dir
avocado.core.data_dir: Add missing docstring for clean_tmp_files

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.core.output: Add missing docstrings

So we get even more complete API documentation.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.utils.process: Improving docstrings

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
unittests/avocado/datadir_unittest.py: simple style changes

IMHO it looks a bit cleaner. Minor minor stuff though.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Merge pull request #41 from clebergnu/style

unittests/avocado/datadir_unittest.py: simple style changes
Merge pull request #40 from avocado-framework/docstring-improvements

Docstring improvements
avocado.result: Docstring fixes and improvements

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.sysinfo: Improve docstrings

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.utils.misc: Improve docstrings

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
avocado.utils.memory: Improve docstrings

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #42 from avocado-framework/more-docstring-improvements

More docstring improvements
docs: Fix install instructions in GetStartedGuide

The commands described did not work under some circumstances,
so change them to safer versions.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Merge pull request #43 from avocado-framework/fix-install-instructions

docs: Fix install instructions in GetStartedGuide
.travis.yml: Add some functional testing of avocado

Let's actually execute avocado in scenarios where we
know what the produced outcome is:

* Execute a list of tests that pass, expected rc == 0
* Execute a list of tests where some fail, expected rc == 1

Although very simple, it's already a good start of
functional testing of the code during each travis job.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>