code: def test_relationship_path_name(es):
      assert RelationshipPath([]).name == ""
  
      log_to_sessions = Relationship(
          es, "sessions", "id", "log", "session_id"
      )
      sessions_to_customers = Relationship(
          es,
          "customers",
          "id",
          "sessions",
          "customer_id",
      )
  
      forward_path = [
          (True, log_to_sessions),
          (True, sessions_to_customers),
      ]
      assert RelationshipPath(forward_path).name == "sessions.customers"
  
      backward_path = [
          (False, sessions_to_customers),
          (False, log_to_sessions),
      ]
      assert RelationshipPath(backward_path).name == "sessions.log"
  
      mixed_path = [(True, log_to_sessions), (False, log_to_sessions)]
      assert RelationshipPath(mixed_path).name == "sessions.log"
  
imports: from featuretools.entityset.relationship import Relationship, RelationshipPath
label_desc: Use image node_id 2 for calling a global function with example usage: test_relationship_path_name(es) without return types