code: def test_to_string(fixture):
      no_args, no_props, props_only, no_label, multi_label = fixture
      assert no_args.to_string() == ""
      assert no_props.to_string() == ""
      assert props_only.to_string() == '{a:"a",b:10}'
      assert no_label.to_string() == '{a:"a"}'
      assert multi_label.to_string() == ""
  
imports: import pytest
  from redis.commands.graph import node
label_desc: Use image node_id 2 for calling a global function with example usage: test_to_string(fixture) without return types