From da1b177e0b3fd7f41fb53e73eb6c39435fc1e3ba Mon Sep 17 00:00:00 2001 From: Sebastian Echeverria Date: Fri, 20 Dec 2024 15:39:10 -0500 Subject: [PATCH] Unit tests: Fixed comments --- test/util/test_oci.py | 2 +- test/util/test_uri.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/util/test_oci.py b/test/util/test_oci.py index b94fa4a..ec6705a 100644 --- a/test/util/test_oci.py +++ b/test/util/test_oci.py @@ -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" diff --git a/test/util/test_uri.py b/test/util/test_uri.py index 66e36b5..e7fa2cd 100644 --- a/test/util/test_uri.py +++ b/test/util/test_uri.py @@ -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) @@ -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)