Added self.assertIn statements to test_get_resources() and test_get_meters()
functions in /tests/storage/base.py
These assert statements check for the existence of the source variable and
also if the source variable is in the set of sources hard coded by the database
test data.
Added the source variable to models.Resource and models.Meter in the HBase,
MongoDB, and SQLAlchemy drivers. Added the source variable to the
specifications for the Resource and Meter classes in models.py
Reviewed: https:/ /review. openstack. org/27841 github. com/openstack/ ceilometer/ commit/ c7877f1a3201d39 4e7ea9834b1d298 94e11109b2
Committed: http://
Submitter: Jenkins
Branch: master
commit c7877f1a3201d39 4e7ea9834b1d298 94e11109b2
Author: terriyu <email address hidden>
Date: Tue Apr 30 18:44:45 2013 +0000
Added missing source variable in storage drivers
Addresses bug 1163479 storage/ base.py /storage/ models. py /storage/ impl_hbase. py /storage/ impl_mongodb. py /storage/ impl_sqlalchemy .py
*tests/
*ceilometer
*ceilometer
*ceilometer
*ceilometer
Added self.assertIn statements to test_get_ resources( ) and test_get_meters() storage/ base.py
functions in /tests/
These assert statements check for the existence of the source variable and
also if the source variable is in the set of sources hard coded by the database
test data.
Added the source variable to models.Resource and models.Meter in the HBase,
MongoDB, and SQLAlchemy drivers. Added the source variable to the
specifications for the Resource and Meter classes in models.py
Change-Id: I5a407bc8c7ce82 a71be7e56705c54 0ece4573340