manage.py: Give the stock django manage script a system wide name

So that it can be installed and called when installed system wide.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
avocadoserver/version.py: add versioning information

Signed-off-by: Cleber Rosa <crosa@redhat.com>
setup.py: add an initial python installation script

Signed-off-by: Cleber Rosa <crosa@redhat.com>
avocado-server.spec: add an initial RPM spec file

The commit macro is left empty because there isn't a tagged release
yet.

Also, the package reflects only the current deployment model, that is,
a development mode using Django's own server.

In the near future we'll pick a webserver for a straightforward
deployment.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
avocadoserver/models.py: allow jobs to be unnamed

When a job is fired manually, and maybe in other circustances, there
will be no proper name for that job. The one required identification
is uniqueident (a uuid) so let's relax the model definition and allow
for blanks.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
unittests: add unittests infrastructure

Borrowing `runtests.py` from avocado and creating a very simplified
(in a good way) set of utilities to run unittests that involve Django
code.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
unittests: add a first batch of unittests

This time dealing with the database models that power the application

Signed-off-by: Cleber Rosa <crosa@redhat.com>
requirements.txt: update django version

To one more commonly matching development machines

Signed-off-by: Cleber Rosa <crosa@redhat.com>
pylint: disable some false positives

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Merge pull request #3 from avocado-framework/spec_and_unittest

RPM spec file support and unittests