We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e47204 commit 07c94fbCopy full SHA for 07c94fb
kubernetes/base/config/kube_config_test.py
@@ -1028,7 +1028,7 @@ def test_load_gcp_token_no_refresh(self):
1028
def test_load_gcp_token_with_refresh(self):
1029
def cred(): return None
1030
cred.token = TEST_ANOTHER_DATA_BASE64
1031
- cred.expiry = datetime.datetime.now(tz=UTC)
+ cred.expiry = datetime.datetime.now(tz=UTC).replace(tzinfo=None)
1032
1033
loader = KubeConfigLoader(
1034
config_dict=self.TEST_KUBE_CONFIG,
0 commit comments