Skip to content

Conversation

@ltucker
Copy link
Contributor

@ltucker ltucker commented Apr 24, 2025

This pull request adds a new test case to the netbox_diode_plugin test suite to ensure proper handling of duplicate object creation requests.

Additions to test coverage:

  • netbox_diode_plugin/tests/test_api_apply_change_set.py: Added the test_apply_two_changes_that_create_the_same_object_return_200 method to verify that applying two changes that attempt to create the same object returns a 200 status code. This test ensures the system can handle duplicate creation requests gracefully.

@github-actions
Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2824 2630 93% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
netbox_diode_plugin/tests/test_api_apply_change_set.py 99% 🟢
TOTAL 99% 🟢

updated for commit: 8bf87ec by action🐍

@ltucker ltucker merged commit 700ad6e into develop Apr 24, 2025
6 checks passed
@ltucker ltucker deleted the test_apply_double_create branch April 24, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants