+ self.assertIs(type(stream.user_attributes), bt2_value.MapValue)
+
+ def test_const_user_attributes(self):
+ stream = utils.get_const_stream_beginning_message().stream
+ self.assertEqual(stream.user_attributes, {'salut': 23})
+ self.assertIs(type(stream.user_attributes), bt2_value._MapValueConst)