1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit
weisheng-p 3318034403
Add github_app_access_token lookup plugin (#7761)
* Add github_app_access_token lookup plugin

* Fix a typo in short_description

* Remove unused MockOpenUrl

* Fix MockJWT to be used on jwt_instance instead

* Fix a bunch of pep8 and pylint issue

* Remove JWT from requirements, also default jwt_instance and jwk_from_pem so they can be mocked

* Update version added

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update git reference in doc

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/lookup/github_app_access_token.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Expose token expiry as a configurable option

* Update BOTMETA.yml

* Update documentation

* Update example with var, so it is more readable

Co-authored-by: Felix Fontein <felix@fontein.de>

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-31 15:20:57 +01:00
..
compat Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
mock Avoid direct type comparisons (#7085) 2023-08-11 09:00:54 +02:00
plugins Add github_app_access_token lookup plugin (#7761) 2023-12-31 15:20:57 +01:00
requirements.txt CI: python-memcached 1.60 needs Python 3.6+ (#7776) 2023-12-28 10:32:36 +01:00
requirements.yml Switch to Ansible Galaxy compatible requirements files for tests (#6549) 2023-05-21 14:06:36 +02:00