5 Commits

Author SHA1 Message Date
Julien Danjou
8d242bd7ab Switch to oslo.serialization
Change-Id: I24be947cfc2d9ce60e65054e6562e544b1e21195
2014-09-23 14:54:30 +02:00
Alexei Kornienko
7381ccdc2a Should not send replies for cast messages
Cast messages will not contain a msg_id  and we're currently
sending messages to the default excahgne with empty msg_id.
In order to fix it we should not send replies if there is no
msg_id in message.

Change-Id: I5b1142029d2c718c3929cf6cf1f6e958b95a5c96
Closes-bug: #1355058
2014-08-19 13:30:40 +03:00
Christian Berendt
500f1e5dca Enable check for E226
* E226 missing whitespace around arithmetic operator

Change-Id: Iee5f6a952d9b12c6c8a4a79ef656fc7f94170776
2014-08-04 12:15:34 +00:00
Victor Stinner
71588adbb5 Fix AMQPListener for polling with timeout
On timeout, poll() should return None, not raise an exception (Timeout).

Add also an unit test.

Change-Id: I1ed5ae2f093841111f0b691dddb879c16d218b73
2014-07-07 14:23:00 +00: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