6e45bc9291e6d06383da38ed3b2265d0d2cc8f5c,iam/api-client/service_accounts_test.py,,test_service_accounts,#Any#,21
Before Change
def test_service_accounts(capsys):
project_id = os.environ["GCLOUD_PROJECT"]
rand = str(random.randint(0, 1000))
name = "python-test-" + rand
email = name + "@" + project_id + ".iam.gserviceaccount.com"
service_accounts.create_service_account(
project_id, name, "Py Test Account")
After Change
def test_service_accounts(capsys):
project_id = os.environ["GCLOUD_PROJECT"]
name = "python-test-{}".format(str(uuid.uuid4()).split("-")[0])
email = name + "@" + project_id + ".iam.gserviceaccount.com"
try:
service_accounts.create_service_account(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 6e45bc9291e6d06383da38ed3b2265d0d2cc8f5c
Time: 2020-04-27
Author: tmatsuo@google.com
File Name: iam/api-client/service_accounts_test.py
Class Name:
Method Name: test_service_accounts
Project Name: geekcomputers/Python
Commit Name: 45b6cc3b98cc72068ccc0ae0a1564b9adb888f07
Time: 2017-10-23
Author: fares.bessrour@gmail.com
File Name: random-sentences.py
Class Name:
Method Name: random_sentence
Project Name: automl/auto-sklearn
Commit Name: e0ebe9511ff9ec29aca0c61da0141b915680954a
Time: 2020-05-20
Author: 44504424+franchuterivera@users.noreply.github.com
File Name: autosklearn/util/backend.py
Class Name:
Method Name: get_randomized_directory_names