File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -225,4 +225,4 @@ Contributors
225225
226226- Thomas Buchner (@MrBatschner)
227227
228- - Chris Cotter (@ccotter)
228+ - Chris Cotter (@ccotter)
Original file line number Diff line number Diff line change 77
88See also: http://developer.github.com/v3/actions/
99"""
10+
1011from .secrets import OrganizationSecret
1112from .secrets import RepositorySecret
1213from .secrets import SharedOrganizationSecret
Original file line number Diff line number Diff line change 11"""This module contains all the classes relating to GitHub Actions secrets."""
2+
23import typing
34
45from .. import models
56
67
78class PublicKey (models .GitHubCore ):
8-
99 """Object representing a Public Key for GitHub Actions secrets.
1010
1111 See https://docs.github.com/en/rest/actions/secrets for more details.
@@ -31,7 +31,6 @@ def __str__(self):
3131
3232
3333class _Secret (models .GitHubCore ):
34-
3534 """Base class for all secrets for GitHub Actions.
3635
3736 See https://docs.github.com/en/rest/actions/secrets for more details.
Original file line number Diff line number Diff line change 11"""Integration tests for methods implemented on Organization."""
2+
23import datetime
34
45import pytest
@@ -422,7 +423,6 @@ def test_hooks(self):
422423
423424
424425class TestOrganizationSecrets (IntegrationHelper ):
425-
426426 """Integration tests for organization secrets."""
427427
428428 encrypted_data = "9JgL1eNoSjB/9cmjYUI00ojLcLxidIgvspXw/g+vmEvlIgqafYXTe1sbVEsz3RyLEyu/" # noqa: E501
Original file line number Diff line number Diff line change 11"""Secret unit tests."""
2+
23import pytest
34
45import github3
6+
57from . import helper
68
79get_secret_examlple_data = helper .create_example_data_helper ("secret_example" )
You can’t perform that action at this time.
0 commit comments