11 Commits

Author SHA1 Message Date
Monty Taylor
af7c1bc13d Update pbr and requirements to be current
The usage of pbr and the rest of the requirements need to be update to
be up to date with modern usage.

Change-Id: I7dd4c6d6f6721205a293d427851733a0391ea72e
2013-09-18 07:55:39 -07:00
Flavio Percoco
9b6350afa5 Change Marconi's codebase structure
This patch re-structures Marconi's codebase in a way that it'll be
possible to add other services such as marconi-proxy and
marconi-notification as standalone services within Marconi.

Implements blueprint change-marconi-structure

Change-Id: Id6061f04ec6e6959143fb0f5905bb8799fd86edd
2013-09-17 14:49:24 +02:00
Flaper Fesp
80157e6a4a Run functional tests under tox
This patch allows to run functional tests under tox, however, they are
disabled by default. In order to run tests with tox, it is necessary to
enable them by modifying the functional-tests.conf and setting run_tests
to True.

This patch also merged both test files in a single one
(test-requirements.txt)

blueprint refactor-system-tests

Change-Id: Iba440b12653cf9ee1454022830107a06b8a7bea9
2013-09-10 11:39:51 +02:00
Flaper Fesp
85e0c2cd22 Pull actual tests out of marconi/tests
As part of Marconi's test refactoring, it was decided to pull actual
tests - those run by nosetest - out of marconi/tests and leave there
just the base implementations. The main reasoning about this is to
improve tests structure and make packaging easier.

blueprint refactor-system-tests

Change-Id: Ia7f9192a2ec2c224e78bddb8414d226cb23a929f
2013-09-06 10:56:41 +02:00
kgriffs
7a7771b06e chore: Track the up-and-coming oslo.cache module
While we wait for oslo.cache to land, I'd like to maintain a
verbatim copy under marconi.common so that we can start using
it immediately.

When oslo.cache is approved upstream, this copy of the code
will go away and we will add cache to marconi's
openstack-commong.conf

Change-Id: I608a2891ca06caec47ce18eda4edacd07bec40e9
2013-08-30 10:11:47 -05:00
Flaper Fesp
2bba034d67 Migrate to stevedore
Use stevedore to load both transport and storage drivers. It will allow
other users to extend Marconi with their own storages / transports more
easily. Stevedore also covers most of the cases around managing plugins.

Change-Id: Ic417c29cef41bdb72c8c446937905509db5ba8cd
2013-06-14 16:04:02 +02:00
Flaper Fesp
802a37c568 Migrate to pbr
Change-Id: I0d5888f9d58d819ac65561b222cb2e93f260d627
2013-06-14 14:14:42 +02:00
Malini Kamalambal
5477b646cc Add System Tests
This patch adds the System level testing framework &
the initial set of tests for Marconi.This will allow
developers to run the system tests (regression suite for
Marconi system level tests), against local Marconi server.

Refer tests/system/README.rst file for details on
how to add new tests and run the existing tests.

Change-Id: I2f47e03091acc260293b19edad69ff5c83888ec3
Implements: blueprint system-tests
2013-06-03 12:39:22 -04:00
kgriffs
e5cc92939a style: Enable flake8 with proper exclusions
This patch ensures we are running flake8 in a DRY fashion, using the same
exclusions as used for pep8. Also fixed is the pep8 module version mismatch
between the version required for hacking.py and the newer version used by
flake8. Finally, the doctest run for pep8 was removed, and enabled for
nose instead.

Implements: blueprint grizzly-debt
Change-Id: I8e19512df4cd37f7ad637b66dff0a5982d14482c
2013-05-06 08:48:04 -04:00
Kurt Griffiths
f4501f7b1a fix(nose): Comment out detailed-errors to workaround a testtools+nose bug
Setting "detailed-errors=1" in setup.cfg causes a bug in testtools to
manifest.

Trigger: self.assertX(condition), where condition == False.

In "testtools/testresult/real.py" the traceback is set to
None in _details_to_exc_info(), but the inspect_traceback()
method in nose/inspector.py requires a traceback-like object.

Change-Id: Ia95fd2176ea0ccc984623b53b3536f995c6db5bb
2013-03-13 21:56:31 +00:00
Monty Taylor
e0600c2d02 Initial import.
Change-Id: I00a644dabdd01eb1e09a42a8d326cacdaca76f9f
2012-11-01 09:52:20 +01:00