Skip to content

Fix: [$25 BOUNTY] [Python] Add diagnostic bundle validation tests#16

Open
Nexussyn wants to merge 1 commit into
Peter7896:mainfrom
Nexussyn:bounty-fix/issue-1-1782118937944
Open

Fix: [$25 BOUNTY] [Python] Add diagnostic bundle validation tests#16
Nexussyn wants to merge 1 commit into
Peter7896:mainfrom
Nexussyn:bounty-fix/issue-1-1782118937944

Conversation

@Nexussyn

Copy link
Copy Markdown

Closes #1

Diagnostic Bundle Validation Tests

Description

This pull request adds deterministic tests to validate diagnostic metadata and encrypted bundle references in the zeroeye repository. The tests ensure that the generated diagnostic bundles are correctly formatted and contain the expected information.

Changes

  • Added test_diagnostic_bundle.py to the tests directory
  • Modified build.py to include diagnostic bundle validation

Tests

The tests cover the following scenarios:

  • Diagnostic bundle generation
  • Diagnostic bundle validation
  • Validation of diagnostic metadata
  • Redaction of local home/repo/temp paths and usernames

Usage

To run the tests, execute the following command:

python3 -m unittest discover -s tests

Notes

This solution assumes that the build.py script generates the diagnostic bundle files in the diagnostic directory. The tests are designed to be deterministic and should work on both Windows and Unix-like hosts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[$25 BOUNTY] [Python] Add diagnostic bundle validation tests

1 participant