mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-06 00:32:08 +02:00
Introduce `TableTestCases.OrderableColumnsTestCase`, a shared base class that automatically discovers sortable columns from list-view querysets and verifies each renders without exceptions in both ascending and descending order. Add per-table smoke tests across circuits, core, dcim, extras, ipam, tenancy, users, virtualization, vpn, and wireless apps. Fixes #21766
15 lines
387 B
Python
15 lines
387 B
Python
from utilities.testing import TableTestCases
|
|
from wireless.tables import *
|
|
|
|
|
|
class WirelessLANGroupTableTest(TableTestCases.OrderableColumnsTestCase):
|
|
table = WirelessLANGroupTable
|
|
|
|
|
|
class WirelessLANTableTest(TableTestCases.OrderableColumnsTestCase):
|
|
table = WirelessLANTable
|
|
|
|
|
|
class WirelessLinkTableTest(TableTestCases.OrderableColumnsTestCase):
|
|
table = WirelessLinkTable
|