def test_sample_data(self):
        f = open('sample.txt')
        self.assertEqual(get_ceph_info(f.read()), ('8643', '4821', '481'))
        f.close()
Get ceph information from sample data
dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/cephstats/test/test_ceph.py/TestCeph.test_sample_data