Skip to content

Commit

Permalink
fix: codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Sep 26, 2023
1 parent 220570e commit 54ae3ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/functional/test_project.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import shutil
from pathlib import Path
from urllib.parse import urlparse

import pytest
import yaml
Expand Down Expand Up @@ -183,7 +184,10 @@ def test_meta(temp_config, project):
assert project.meta.license == "MIT"
assert project.meta.description == "test"
assert project.meta.keywords == ["testing"]
assert str(project.meta.links["apeworx.io"]).startswith("https://apeworx.io")

actual_url = urlparse(project.meta.links["apeworx.io"])
assert actual_url.hostname == "apeworx.io"
assert actual_url.scheme == "https"


def test_brownie_project_configure(config, base_projects_directory):
Expand Down

0 comments on commit 54ae3ae

Please sign in to comment.