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
Status not showing up in choices for DCIM/Cables #452
Comments
Possibly related to #382? |
Not quite. These don't show up at all rather than having the incorrect key ( I'm wondering if the issue was tracked prior to public release. The endpoint provides no choices for status. I'll dig in deeper once I figure out which content types provide the status (programmatically) to make sure there aren't others. |
Ok I found the commit - https://github.com/networktocode-llc/grimlock/pull/59/files?file-filters%5B%5D=.html&file-filters%5B%5D=.py I'm attempting to figure out a way to have a dynamic test for any model that has |
Rather than any dynamic magic for 'status' field, probably simpler (better?) to add another test case mixin class that can be explicitly included in any API tests that should cover it. |
Environment
Steps to Reproduce (Using pynautobot)
These are fetched when using the OPTIONS HTTP verb against the list view.
I swear I've submitted an issue or two on this previously, but cannot seem to find them.
Expected Behavior
To list the three choices that come default for
dcim | cables
Observed Behavior
See above. Status is not available as choices and fails playbooks in
nautobot-ansible
due to not finding the status when attempting to create a cable.The text was updated successfully, but these errors were encountered: