Part of elisa.core.tests.test_metadata_manager View In Hierarchy
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 46 | Method | setUp | Undocumented |
| 50 | Method | test_register_unregister | Test whether registering and unregistering work in a very simple case. |
| 67 | Method | test_register_already_registered | Test that trying to register a capability that has already been |
| 82 | Method | test_ranking | Test whether the capabilities are correctly ordered by decreasing rank. |
| 148 | Method | test_able_and_call | Test whether the able_to_handle(...) method is correctly called. |
| 171 | Method | test_multiple_able | Test whether only the capabilities able to handle a request are hit. |
| 209 | Method | test_metadata_filled | Test the behaviour when a metadata request is correctly processed. |
| 238 | Method | test_metadata_filled_by_first_capability | Test the behaviour when a metadata request is correctly processed. |
| 279 | Method | test_metadata_filled_by_second_capability | Test the behaviour when a metadata request is correctly processed. |
| 317 | Method | test_one_fails | Test what happens when one capability in the list fails. |
| 363 | Method | test_external_exception_raised_1 | Test what happens when exceptions are raised outside the twisted part. |
| 384 | Method | test_external_exception_raised_2 | Test what happens when exceptions are raised outside the twisted part. |
| 407 | Method | test_cancel_request | Test that cancelling a metadata request works as expected. |
Inherited from ElisaTestCase:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 115 | Method | __init__ | Undocumented |
| 132 | Method | _boot | Undocumented |
| 146 | Method | check_called | Undocumented |
Test what happens when exceptions are raised outside the twisted part.
First test, able_to_handle(...) raises a custom exception.