3 Commits

Author SHA1 Message Date
Julien Danjou
48a9ba4e27 Fix Python 3 testing
Raising SkipTest at import time fails in recent version of the test
suite. We change that by being more picky at one should or should not be
tested based on what we managed to import; the upside is that we test a
few more things under Python 3 now.

Change-Id: I8971c7291cb261faf00fec73cf53b6132bdaf948
2014-08-26 11:30:24 +02:00
Julien Danjou
4cb33ecc94 Port to Python 3
This patch enables running all the unit tests (except the qpid ones that
are skipped) under Python 3.3 and Python 3.4.

Change-Id: I711663b4eedfb3cdeea7e6da7d28c6b92663e611
2014-08-18 17:08:13 +02:00
Boris Pavlovic
026cd1cfb9 Fix structure of unit tests in oslo.messaging (part 3 last)
Even in case of libraries and when they are not big like nova.
It is better to use next rules:
1) structure of tests directory is the same as a root of project
Tests directory will be well organized, and it will be simple to find
where to write tests
2) names for end modules should be test_<name_of_testing_module>.py

Change-Id: I75b4b3df4fffc8dfe389c547ae7a004d1b278ecc
2014-06-27 22:29:27 +00:00