code: def test_comparison():
      node1 = node.Node(node_id=1)
      node2 = node.Node(node_id=2)
      node3 = node.Node(node_id=3)
  
      edge1 = edge.Edge(node1, None, node2)
      assert edge1 == edge.Edge(node1, None, node2)
      assert edge1 != edge.Edge(node1, "bla", node2)
      assert edge1 != edge.Edge(node1, None, node3)
      assert edge1 != edge.Edge(node3, None, node2)
      assert edge1 != edge.Edge(node2, None, node1)
      assert edge1 != edge.Edge(
          node1, None, node2, properties={"a": 10}
      )
  
imports: import pytest
  from redis.commands.graph import edge, node
label_desc: Use image node_id 4 for calling a global function with example usage: test_comparison() without return types