File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
sdks/python/apache_beam/transforms Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 2828import math
2929import random
3030import re
31- import sys
3231import time
3332import unittest
3433import warnings
@@ -320,9 +319,7 @@ class GroupByEncryptedKeyTest(unittest.TestCase):
320319 def setUpClass (cls ):
321320 if secretmanager is not None :
322321 cls .project_id = 'apache-beam-testing'
323- py_version = f'_py{ sys .version_info .major } { sys .version_info .minor } '
324- secret_postfix = datetime .now ().strftime ('%m%d_%H%M%S' ) + py_version
325- cls .secret_id = 'gbek_util_secret_tests_' + secret_postfix
322+ cls .secret_id = 'gbek_util_secret_tests'
326323 cls .client = secretmanager .SecretManagerServiceClient ()
327324 cls .project_path = f'projects/{ cls .project_id } '
328325 cls .secret_path = f'{ cls .project_path } /secrets/{ cls .secret_id } '
@@ -350,11 +347,6 @@ def setUpClass(cls):
350347 cls .gcp_secret = GcpSecret (version_name )
351348 cls .secret_option = f'type:GcpSecret;version_name:{ version_name } '
352349
353- @classmethod
354- def tearDownClass (cls ):
355- if secretmanager is not None :
356- cls .client .delete_secret (request = {'name' : cls .secret_path })
357-
358350 def test_gbek_fake_secret_manager_roundtrips (self ):
359351 fakeSecret = FakeSecret ()
360352
You can’t perform that action at this time.
0 commit comments