This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 6316025b7c Fix typo s/overriden/overridden/ (#35128)
6316025b7c is described below
commit 6316025b7c160006ef57d3463868394c3f9e8d97
Author: hugo-syn <[email protected]>
AuthorDate: Tue Oct 24 12:22:52 2023 +0200
Fix typo s/overriden/overridden/ (#35128)
---
helm_tests/airflow_aux/test_cleanup_pods.py | 2 +-
helm_tests/airflow_aux/test_configmap.py | 6 +++---
helm_tests/airflow_aux/test_create_user_job.py | 2 +-
helm_tests/airflow_aux/test_migrate_database_job.py | 2 +-
helm_tests/airflow_core/test_dag_processor.py | 2 +-
helm_tests/airflow_core/test_scheduler.py | 2 +-
helm_tests/airflow_core/test_triggerer.py | 2 +-
helm_tests/airflow_core/test_worker.py | 2 +-
helm_tests/other/test_flower.py | 2 +-
helm_tests/other/test_pgbouncer.py | 2 +-
helm_tests/other/test_redis.py | 2 +-
helm_tests/other/test_statsd.py | 2 +-
helm_tests/webserver/test_webserver.py | 2 +-
tests/decorators/test_setup_teardown.py | 6 +++---
tests/decorators/test_task_group.py | 2 +-
15 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/helm_tests/airflow_aux/test_cleanup_pods.py
b/helm_tests/airflow_aux/test_cleanup_pods.py
index c789c67e9c..4305531ec5 100644
--- a/helm_tests/airflow_aux/test_cleanup_pods.py
+++ b/helm_tests/airflow_aux/test_cleanup_pods.py
@@ -384,7 +384,7 @@ class TestCleanupServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"cleanup": {"enabled": True, "serviceAccount":
{"automountServiceAccountToken": False}},
diff --git a/helm_tests/airflow_aux/test_configmap.py
b/helm_tests/airflow_aux/test_configmap.py
index 8e15a9f8a0..369e340bde 100644
--- a/helm_tests/airflow_aux/test_configmap.py
+++ b/helm_tests/airflow_aux/test_configmap.py
@@ -152,13 +152,13 @@ metadata:
cfg = jmespath.search('data."airflow.cfg"', docs[0])
assert expected in cfg.splitlines()
- def test_overriden_flower_url_prefix(self):
+ def test_overridedn_flower_url_prefix(self):
docs = render_chart(
- values={"executor": "CeleryExecutor", "ingress": {"flower":
{"path": "/overriden-path"}}},
+ values={"executor": "CeleryExecutor", "ingress": {"flower":
{"path": "/overridden-path"}}},
show_only=["templates/configmaps/configmap.yaml"],
)
- expected = "flower_url_prefix = /overriden-path"
+ expected = "flower_url_prefix = /overridden-path"
cfg = jmespath.search('data."airflow.cfg"', docs[0])
assert expected in cfg.splitlines()
diff --git a/helm_tests/airflow_aux/test_create_user_job.py
b/helm_tests/airflow_aux/test_create_user_job.py
index 3d6ec6c423..c8a3220a68 100644
--- a/helm_tests/airflow_aux/test_create_user_job.py
+++ b/helm_tests/airflow_aux/test_create_user_job.py
@@ -419,7 +419,7 @@ class TestCreateUserJobServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"createUserJob": {
diff --git a/helm_tests/airflow_aux/test_migrate_database_job.py
b/helm_tests/airflow_aux/test_migrate_database_job.py
index 6f5382cda7..ea9a35134e 100644
--- a/helm_tests/airflow_aux/test_migrate_database_job.py
+++ b/helm_tests/airflow_aux/test_migrate_database_job.py
@@ -351,7 +351,7 @@ class TestMigrateDatabaseJobServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"migrateDatabaseJob": {
diff --git a/helm_tests/airflow_core/test_dag_processor.py
b/helm_tests/airflow_core/test_dag_processor.py
index ceb0267076..f77c646f55 100644
--- a/helm_tests/airflow_core/test_dag_processor.py
+++ b/helm_tests/airflow_core/test_dag_processor.py
@@ -659,7 +659,7 @@ class TestDagProcessorServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"dagProcessor": {
diff --git a/helm_tests/airflow_core/test_scheduler.py
b/helm_tests/airflow_core/test_scheduler.py
index 630e45ec4e..1146151016 100644
--- a/helm_tests/airflow_core/test_scheduler.py
+++ b/helm_tests/airflow_core/test_scheduler.py
@@ -873,7 +873,7 @@ class TestSchedulerServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"scheduler": {
diff --git a/helm_tests/airflow_core/test_triggerer.py
b/helm_tests/airflow_core/test_triggerer.py
index 615d68f9b3..369e874070 100644
--- a/helm_tests/airflow_core/test_triggerer.py
+++ b/helm_tests/airflow_core/test_triggerer.py
@@ -621,7 +621,7 @@ class TestTriggererServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"triggerer": {
diff --git a/helm_tests/airflow_core/test_worker.py
b/helm_tests/airflow_core/test_worker.py
index d58e9a72dc..465f92500c 100644
--- a/helm_tests/airflow_core/test_worker.py
+++ b/helm_tests/airflow_core/test_worker.py
@@ -831,7 +831,7 @@ class TestWorkerServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"workers": {
diff --git a/helm_tests/other/test_flower.py b/helm_tests/other/test_flower.py
index 3977775414..48512776a9 100644
--- a/helm_tests/other/test_flower.py
+++ b/helm_tests/other/test_flower.py
@@ -603,7 +603,7 @@ class TestFlowerServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"flower": {
diff --git a/helm_tests/other/test_pgbouncer.py
b/helm_tests/other/test_pgbouncer.py
index 96b603da2a..617bd44a01 100644
--- a/helm_tests/other/test_pgbouncer.py
+++ b/helm_tests/other/test_pgbouncer.py
@@ -700,7 +700,7 @@ class TestPgBouncerServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"pgbouncer": {
diff --git a/helm_tests/other/test_redis.py b/helm_tests/other/test_redis.py
index 82266e3f47..6711118da2 100644
--- a/helm_tests/other/test_redis.py
+++ b/helm_tests/other/test_redis.py
@@ -372,7 +372,7 @@ class TestRedisServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"redis": {
diff --git a/helm_tests/other/test_statsd.py b/helm_tests/other/test_statsd.py
index 399309702b..8f65a0f652 100644
--- a/helm_tests/other/test_statsd.py
+++ b/helm_tests/other/test_statsd.py
@@ -351,7 +351,7 @@ class TestStatsdServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"statsd": {
diff --git a/helm_tests/webserver/test_webserver.py
b/helm_tests/webserver/test_webserver.py
index 0ae7c60582..7fd7e60257 100644
--- a/helm_tests/webserver/test_webserver.py
+++ b/helm_tests/webserver/test_webserver.py
@@ -1070,7 +1070,7 @@ class TestWebserverServiceAccount:
)
assert jmespath.search("automountServiceAccountToken", docs[0]) is True
- def test_overriden_automount_service_account_token(self):
+ def test_overridden_automount_service_account_token(self):
docs = render_chart(
values={
"webserver": {
diff --git a/tests/decorators/test_setup_teardown.py
b/tests/decorators/test_setup_teardown.py
index 16c9f0d1ea..f654ff0372 100644
--- a/tests/decorators/test_setup_teardown.py
+++ b/tests/decorators/test_setup_teardown.py
@@ -186,7 +186,7 @@ class TestSetupTearDownTask:
assert teardown_task.on_failure_fail_dagrun is on_failure_fail_dagrun
assert len(dag.task_group.children) == 1
- def test_setup_task_can_be_overriden(self, dag_maker):
+ def test_setup_task_can_be_overridden(self, dag_maker):
@setup
def mytask():
print("I am a setup task")
@@ -197,7 +197,7 @@ class TestSetupTearDownTask:
setup_task = dag.task_group.children["mytask2"]
assert setup_task.is_setup
- def test_teardown_on_failure_fail_dagrun_can_be_overriden(self, dag_maker):
+ def test_teardown_on_failure_fail_dagrun_can_be_overridden(self,
dag_maker):
@teardown
def mytask():
print("I am a teardown task")
@@ -209,7 +209,7 @@ class TestSetupTearDownTask:
assert teardown_task.is_teardown
assert teardown_task.on_failure_fail_dagrun
- def
test_retain_on_failure_fail_dagrun_when_other_attrs_are_overriden(self,
dag_maker):
+ def
test_retain_on_failure_fail_dagrun_when_other_attrs_are_overridden(self,
dag_maker):
@teardown(on_failure_fail_dagrun=True)
def mytask():
print("I am a teardown task")
diff --git a/tests/decorators/test_task_group.py
b/tests/decorators/test_task_group.py
index 4c741ef1c1..632782c54e 100644
--- a/tests/decorators/test_task_group.py
+++ b/tests/decorators/test_task_group.py
@@ -77,7 +77,7 @@ def test_tooltip_derived_from_function_docstring():
assert _.task_group_dict["tg"].tooltip == "Function docstring."
-def test_tooltip_not_overriden_by_function_docstring():
+def test_tooltip_not_overridden_by_function_docstring():
"""
Test that the tooltip for TaskGroup is the explicitly set value even if
the decorated function has a
docstring.