code: def test_value_init(self, value):
      """Tests that a ``Datastring`` can be successfully value-initialized."""
      dstr = DatasetString(value)
  
      assert dstr == value
  
imports: import pytest
  from pennylane.data.attributes.string import DatasetString
label_desc: Use image node_id 1 for calling the TestDatasetString obj's underlying member method code with example usage: obj.test_value_init(value) without return types