def test_db_query_msg_id(self):
        found = self.client.db_query({'msg_id': {'$ne' : ''}},keys=['submitted', 'completed'])
        for rec in found:
            self.assertTrue('msg_id' in list(rec.keys()))
        found = self.client.db_query({'msg_id': {'$ne' : ''}},keys=['submitted'])
        for rec in found:
            self.assertTrue('msg_id' in list(rec.keys()))
        found = self.client.db_query({'msg_id': {'$ne' : ''}},keys=['msg_id'])
        for rec in found:
            self.assertTrue('msg_id' in list(rec.keys()))
Simple tests for indenter.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/tests/test_client.py/TestClient.test_db_query_msg_id--crossover with--dataset/ETHPy150Open enthought/mayavi/tvtk/tests/test_indenter.py/TestIndent.test_basic