Skip to content

Commit

Permalink
Template automation (#12)
Browse files Browse the repository at this point in the history
* Add initial setup for pytest and GitHubClient tests

- Created pytest configuration file `pytest.ini` for test discovery and options.
- Added `requirements.txt` for project dependencies including testing libraries.
- Introduced `test_payload.json` for storing test data related to EKS settings.
- Established a test package with `__init__.py` in the `tests` directory.
- Implemented fixtures in `conftest.py` for mocking GitHub API responses.
- Developed unit tests for `GitHubClient` methods in `test_github_client.py`.
- Created integration tests for `GitHubClient` in `test_github_client_integration.py`.
- Added environment cleanup fixture to ensure a clean state for tests.
- Implemented unit tests for application logic in `test_app.py`, including SSM parameter retrieval and GitHub operations.

* Refactor GitHub token handling to use GITHUB_TOKEN_SECRET_NAME

* Add team-based admin access feature to GitHubClient and integration tests

---------

Co-authored-by: Dave Arnold <dave@roknsound.com>
  • Loading branch information
2 people authored and GitHub committed Apr 29, 2025
1 parent 813e00f commit 50f15e8
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 50f15e8

Please sign in to comment.