Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add tests for service accounts #3033

Closed as not planned
Closed as not planned
Labels
@nejch

Description

@nejch
          Did you still want to add a few tests here @ka28kumar? Could just be a simple extension of: https://github.com/python-gitlab/python-gitlab/blob/3739b5dd11bed66fb482cf6d2dc34382327a0265/tests/functional/api/test_groups.py#L315

E.g.:

deftest_group_service_accounts(group):service_account=group.service_accounts.create(        {"name":"gitlab-service-account","username":"gitlab-service-account"}    )assertservice_account.name=="gitlab-service-account"assertservice_account.username=="gitlab-service-account"service_accounts=group.service_accounts.list()assertservice_accounts[0]==service_accountservice_account.delete()

Or something like that. Let me know otherwise we can also take over here!

Originally posted by@nejch in#2963 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp