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 0da3a6e Fix MyPy errors in chart/tests (#20364)
0da3a6e is described below
commit 0da3a6eb84155cb906c47e275e7da4cd81b99e08
Author: Josh Fell <[email protected]>
AuthorDate: Fri Dec 17 05:07:14 2021 -0500
Fix MyPy errors in chart/tests (#20364)
---
chart/tests/test_extra_env_env_from.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/chart/tests/test_extra_env_env_from.py
b/chart/tests/test_extra_env_env_from.py
index a2ac58f..af283f2 100644
--- a/chart/tests/test_extra_env_env_from.py
+++ b/chart/tests/test_extra_env_env_from.py
@@ -17,6 +17,7 @@
import textwrap
import unittest
+from typing import Any, Dict, List, Tuple
import jmespath
import yaml
@@ -58,6 +59,9 @@ PARAMS = [
class ExtraEnvEnvFromTest(unittest.TestCase):
+ k8s_objects: List[Dict[str, Any]]
+ k8s_objects_by_key: Dict[Tuple[str, str], Dict[str, Any]]
+
@classmethod
def setUpClass(cls) -> None:
values_str = textwrap.dedent(