Skip to content

Commit 9af64ec

Browse files

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/test_git_utils.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import github3.exceptions
1212
import pytest
1313
import requests
14-
from pydantic_core import Url
1514
from requests.structures import CaseInsensitiveDict
1615

1716
from conda_forge_tick.git_utils import (
@@ -1322,8 +1321,9 @@ def request_side_effect(method, _url, **_kwargs):
13221321
)
13231322
assert pr_data.head is not None
13241323
assert pr_data.head.ref == "HEAD_BRANCH"
1325-
assert pr_data.html_url == Url(
1326-
"https://github.com/conda-forge/pytest-feedstock/pull/1337"
1324+
assert (
1325+
str(pr_data.html_url)
1326+
== "https://github.com/conda-forge/pytest-feedstock/pull/1337"
13271327
)
13281328
assert pr_data.id == 1853804278
13291329
assert pr_data.labels == []
@@ -1724,8 +1724,9 @@ def test_dry_run_backend_create_pull_request(caplog):
17241724
assert pr_data.e_tag == "GITHUB_PR_ETAG"
17251725
assert pr_data.last_modified is not None
17261726
assert pr_data.id == 13371337
1727-
assert pr_data.html_url == Url(
1728-
"https://github.com/conda-forge/pytest-feedstock/pulls/1337"
1727+
assert (
1728+
str(pr_data.html_url)
1729+
== "https://github.com/conda-forge/pytest-feedstock/pulls/1337"
17291730
)
17301731
assert pr_data.created_at is not None
17311732
assert pr_data.number == 1337

0 commit comments

Comments
 (0)