-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Fixes #19687 - Treat cellular interface type as not connectable #19691
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
Conversation
Add cable termination test for cellular interface
| with self.assertRaises(ValidationError): | ||
| cable.clean() | ||
|
|
||
| def test_cable_cannot_terminate_to_a_cellular_interface(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the regression test!
| with self.assertRaises(ValidationError): | ||
| cable.clean() | ||
|
|
||
| def test_cable_cannot_terminate_to_a_cellular_interface(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Derp, meant to also ask ... can you add a 'regression' tag here, like so?
@tag('regression')
def test_cable_cannot_terminate_to_a_cellular_interface(self):
...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can import it like
from django.test import tagThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad I misunderstood the comment on the issue. I'll add and update the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It couldn't have helped that it took me three comments to say what I meant to say. 🤦
Thanks!
Fixes: #19687
Add cellular interface types to WIRELESS_IFACE_TYPES const
Add cable termination test for cellular interface