code: def test_remote_with_port(self, git_repo_fn):
      remote_url = "https://foo:@github.com:8080/FooTest/Foo.git"
      git_repo = git_repo_fn(remote_url=remote_url)
      assert git_repo.remote_url == remote_url
  
file_path: wandb/tests/pytest_tests/unit_tests/test_lib/test_git.py
imports: from typing import Generator, Optional
  import git
  import pytest
  from wandb.sdk.lib.gitlib import GitRepo
label_desc: Use image node_id 10 for calling the TestGitRepo obj's underlying member method code with example usage: obj.test_remote_with_port(git_repo_fn) without return types