ooici/coi-services — pull request #375 by swarbhanu (2012-11-26 22:00:20+00:00)
Title: Fixes the buildbot: test_observatory_structure in test_assembly.py

Got the test_observatory_structure test to work in test_assembly.py by fiixing the find_related_frames_of_reference() method in observatory management.

The find_related_frames_of_reference() method in observatory_management_service would crash if
no related associations were found. The error would get generated when the resource registry's
read_mult() method would get called on an empty list of object ids.

Fixed this by calling the read_mult() method only when a non empty list of values are found.

All tests using the find_related_frames_of_reference() have been verified to be work after this change.

The tests were:
1. test_observatory_service_management_integration.py
2. test_assembly.py