Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added unit tests for dem_htcondor_slots_status_count, dem_htcondor_cores_count, dem_htcondor_memory_count. Fixed issues in source.py. #498

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

IlyaBaburashvili
Copy link
Contributor

Unit tests use cs.fixture to mock Condor and check metric values against those in expected_metric_values.json. In source.py, removed extra for loop in load() and added get_metric_values() to retrieve metric values for unit tests.

.reuse/dep5 Outdated Show resolved Hide resolved
@mambelli mambelli merged commit fb4c3f9 into HEPCloud:master Apr 18, 2024
13 checks passed
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.

2 participants