Skip to content

Commit

Permalink
Unit tests: Fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-echeverria committed Dec 20, 2024
1 parent fff236b commit da1b177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/util/test_oci.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def create_test_manifest(manifest_path: Path, hash: str):


def test_get_manifest_digest(tmp_path: Path):
"""Tests tha parsing works for common sample transport strings."""
"""Tests that a hash can be properly obtained from a manifest file."""

test_hash = (
"f3b3b28a45160805bb16542c9531888519430e9e6d6ffc09d72261b0d26ff74f"
Expand Down
4 changes: 2 additions & 2 deletions test/util/test_uri.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

@pytest.mark.parametrize("test_input, expected", TEST_TRANSPORT_STRINGS)
def test_parse_container_transport(test_input: str, expected: tuple[str, str]):
"""Tests tha parsing works for common sample transport strings."""
"""Tests that parsing works for common sample transport strings."""

image_name, tag = parse_container_transport(test_input)

Expand All @@ -56,7 +56,7 @@ def test_parse_container_transport(test_input: str, expected: tuple[str, str]):

@pytest.mark.parametrize("test_input, expected", TEST_TRANSPORT_STRINGS)
def test_image_uri_constructor(test_input: str, expected: tuple[str, str]):
"""Tests tha parsing works for common sample transport strings."""
"""Tests that creating an ImageURI object, which itself parses a transport string, sets up its attributes properly."""

uri = ImageURI(test_input)

Expand Down

0 comments on commit da1b177

Please sign in to comment.