Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
renatav committed Dec 4, 2024
1 parent b708961 commit 808f90b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions taf/tests/test_updater/test_clone/test_clone_partial.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
from taf.tests.test_updater.update_utils import (
update_and_check_commit_shas,
verify_repos_eixst,
verify_repos_exist,
)
from taf.updater.updater import OperationType, UpdateType
from taf.tests.test_updater.conftest import (
Expand Down Expand Up @@ -38,6 +38,6 @@ def test_clone_with_excluded_targets(origin_auth_repo, client_dir):
expected_repo_type=expected_repo_type,
excluded_target_globs=["*/target_same*"],
)
verify_repos_eixst(
verify_repos_exist(
client_dir, origin_auth_repo, excluded=["target_same1", "target_same2"]
)
6 changes: 3 additions & 3 deletions taf/tests/test_updater/test_clone/test_clone_valid.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from taf.tests.test_updater.update_utils import (
clone_client_target_repos_without_updater,
update_and_check_commit_shas,
verify_repos_eixst,
verify_repos_exist,
)
from taf.updater.types.update import OperationType, UpdateType

Expand Down Expand Up @@ -340,7 +340,7 @@ def test_clone_when_target_empty(origin_auth_repo, client_dir):
client_dir,
expected_repo_type=UpdateType.EITHER,
)
verify_repos_eixst(client_dir, origin_auth_repo, excluded=["empty"])
verify_repos_exist(client_dir, origin_auth_repo, excluded=["empty"])


@pytest.mark.parametrize(
Expand Down Expand Up @@ -369,4 +369,4 @@ def test_clone_when_no_target_file_and_commit(origin_auth_repo, client_dir):
client_dir,
expected_repo_type=UpdateType.EITHER,
)
verify_repos_eixst(client_dir, origin_auth_repo, excluded=["target2"])
verify_repos_exist(client_dir, origin_auth_repo, excluded=["target2"])
10 changes: 5 additions & 5 deletions taf/tests/test_updater/test_update/test_update_partial.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
clone_repositories,
update_and_check_commit_shas,
update_invalid_repos_and_check_if_repos_exist,
verify_repos_eixst,
verify_repos_exist,
)
from taf.updater.types.update import OperationType

Expand Down Expand Up @@ -141,7 +141,7 @@ def test_update_after_update_with_exclude(origin_auth_repo, client_dir):
client_dir,
expected_repo_type=expected_repo_type,
)
verify_repos_eixst(client_dir, origin_auth_repo)
verify_repos_exist(client_dir, origin_auth_repo)


@pytest.mark.parametrize(
Expand Down Expand Up @@ -195,7 +195,7 @@ def test_update_after_update_with_exclude_with_invalid_commits(
TARGET_MISSMATCH_PATTERN,
True,
)
verify_repos_eixst(client_dir, origin_auth_repo)
verify_repos_exist(client_dir, origin_auth_repo)


@pytest.mark.parametrize(
Expand Down Expand Up @@ -226,7 +226,7 @@ def test_full_update_after_partial_clone(origin_auth_repo, client_dir):
expected_repo_type=expected_repo_type,
excluded_target_globs=["*/target_same*"],
)
verify_repos_eixst(
verify_repos_exist(
client_dir, origin_auth_repo, excluded=["target_same1", "target_same2"]
)

Expand All @@ -238,7 +238,7 @@ def test_full_update_after_partial_clone(origin_auth_repo, client_dir):
no_upstream=False,
expected_repo_type=expected_repo_type,
)
verify_repos_eixst(client_dir, origin_auth_repo)
verify_repos_exist(client_dir, origin_auth_repo)


@pytest.mark.parametrize(
Expand Down
4 changes: 2 additions & 2 deletions taf/tests/test_updater/test_update/test_update_valid.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
clone_repositories,
load_target_repositories,
update_and_check_commit_shas,
verify_repos_eixst,
verify_repos_exist,
)
from taf.updater.types.update import OperationType, UpdateType

Expand Down Expand Up @@ -528,7 +528,7 @@ def test_update_when_target_empty(origin_auth_repo, client_dir):
client_dir,
skip_check_last_validated=True,
)
verify_repos_eixst(client_dir, origin_auth_repo, excluded=["empty"])
verify_repos_exist(client_dir, origin_auth_repo, excluded=["empty"])


@pytest.mark.parametrize(
Expand Down
2 changes: 1 addition & 1 deletion taf/tests/test_updater/update_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def _update_expect_error():
assert not client_repository.path.exists()


def verify_repos_eixst(
def verify_repos_exist(
client_dir: Path,
origin_auth_repo: AuthenticationRepository,
excluded: Optional[list] = None,
Expand Down

0 comments on commit 808f90b

Please sign in to comment.