"trial txamqp" fails with errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txAMQP |
Fix Released
|
Undecided
|
Zooko Wilcox-O'Hearn |
Bug Description
I just unpacked "python-
zooko@zooko-
zooko@zooko-
zooko@zooko-
txamqp.
BasicTests
test_ack ... Traceback (most recent call last):
Failure: twisted.
[ERROR]
test_cancel ... Traceback (most recent call last):
Failure: twisted.
[ERROR]
test_
Failure: twisted.
[ERROR]
test_
Failure: twisted.
[ERROR]
test_
Failure: twisted.
[ERROR]
test_
Failure: twisted.
[ERROR]
test_get ... Traceback (most recent call last):
Failure: twisted.
[ERROR]
test_
Failure: twisted.
[ERROR]
test_
Failure: twisted.
I infer that some sort of setup step is required before running the tests, but there is no README or other document instructing me in how to set it up.
Also, of course, it would be ideal if the tests worked without any manual setup step aside from the normal command to launch tests.
Related branches
- Thomas Herve: Approve
- Dan Di Spaltro: Approve (code)
- Zooko Wilcox-O'Hearn (community): Approve
- Esteve Fernandez: Approve
- Terry Jones: Pending requested
- Diff: None lines
Changed in txamqp: | |
assignee: | nobody → Zooko O'Whielacronx (zooko) |
Changed in txamqp: | |
status: | New → In Progress |
Changed in txamqp: | |
status: | In Progress → Fix Committed |
Changed in txamqp: | |
status: | Fix Committed → Fix Released |
Okay, I've investigated and I see that the tests are all designed to work against an AMQP broker. So, let me change my "it would be ideal" above to say "it would be ideal if there were unit tests that tested the txAMQP source code separately from the behavior of any broker, in addition to these system tests which test the behavior of the txAMQP source code against a broker.
But anyway, I'm writing a patch to emit an error message explaining about the need for a broker to run the tests.