Skip to content

Commit

Permalink
Fix mock URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Jan 17, 2025
1 parent ca6ed3f commit 12f2f99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_checks_googlefonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ def test_check_metadata_includes_production_subsets(check, requests_mock):
"""Check METADATA.pb has production subsets."""

requests_mock.get(
"http://fonts.google.com/metadata/fonts",
"https://fonts.google.com/metadata/fonts",
json={
"familyMetadataList": [
{
Expand Down Expand Up @@ -2686,7 +2686,7 @@ def test_check_repo_zip_files(check, tmp_path):
@check_id("googlefonts/vertical_metrics")
def test_check_vertical_metrics(check, requests_mock):
requests_mock.get(
"http://fonts.google.com/metadata/fonts",
"https://fonts.google.com/metadata/fonts",
json={
"familyMetadataList": [
{"family": "Akshar"},
Expand Down Expand Up @@ -2959,7 +2959,7 @@ def new_context():
@check_id("googlefonts/cjk_vertical_metrics")
def test_check_cjk_vertical_metrics(check, requests_mock):
requests_mock.get(
"http://fonts.google.com/metadata/fonts",
"https://fonts.google.com/metadata/fonts",
json={
"familyMetadataList": [],
},
Expand Down

0 comments on commit 12f2f99

Please sign in to comment.