bt2: Add `*ValueConst` classes and adapt tests
[babeltrace.git] / tests / bindings / python / bt2 / test_query_executor.py
index 1ed63f1a4749c9bbf682404cb867ae7722addf8a..26e554615924d179a4ff96e4265a56470955acc1 100644 (file)
@@ -41,6 +41,8 @@ class QueryExecutorTestCase(unittest.TestCase):
         }
 
         res = bt2.QueryExecutor(MySink, 'obj', params).query()
+        self.assertIs(type(res), bt2._MapValueConst)
+        self.assertIs(type(res['bt2']), bt2._StringValueConst)
         self.assertEqual(query_params, params)
         self.assertEqual(res, {'null': None, 'bt2': 'BT2'})
         del query_params
This page took 0.024141 seconds and 4 git commands to generate.