4b91143f8848e0df40955163ad851603dd12e70a,iam/api-client/service_accounts_test.py,,test_service_accounts,#,23

Before Change



def test_service_accounts(capsys):
    project_id = os.environ["GOOGLE_CLOUD_PROJECT"]
    name = "python-test-{}".format(str(uuid.uuid4()).split("-")[0])
    email = name + "@" + project_id + ".iam.gserviceaccount.com"

    try:
        service_accounts.create_service_account(

After Change


    try:
        acct = service_accounts.create_service_account(
            project_id, name, "Py Test Account")
        assert("uniqueId" in acct)

        unique_id = acct["uniqueId"]
        service_accounts.list_service_accounts(project_id)
        service_accounts.rename_service_account(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 4b91143f8848e0df40955163ad851603dd12e70a
Time: 2020-06-15
Author: tmatsuo@google.com
File Name: iam/api-client/service_accounts_test.py
Class Name:
Method Name: test_service_accounts


Project Name: markovmodel/PyEMMA
Commit Name: b7663daf8b010e526abcd06a89341221e642a14d
Time: 2019-05-13
Author: m.scherer@fu-berlin.de
File Name: setup.py
Class Name:
Method Name: extensions


Project Name: lmcinnes/umap
Commit Name: 953ec6dcd4388f96581a0856e55cf21f1c64c914
Time: 2021-02-11
Author: leland.mcinnes@gmail.com
File Name: umap/tests/test_umap_ops.py
Class Name:
Method Name: test_disconnected_data