mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-13 20:49:52 +02:00
Introduce `TableTestCases.StandardTableTestCase`, a shared base class for model-backed table smoke tests. It currently discovers sortable columns from list-view querysets and verifies that 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
378 B
Python
15 lines
378 B
Python
from utilities.testing import TableTestCases
|
|
from wireless.tables import *
|
|
|
|
|
|
class WirelessLANGroupTableTest(TableTestCases.StandardTableTestCase):
|
|
table = WirelessLANGroupTable
|
|
|
|
|
|
class WirelessLANTableTest(TableTestCases.StandardTableTestCase):
|
|
table = WirelessLANTable
|
|
|
|
|
|
class WirelessLinkTableTest(TableTestCases.StandardTableTestCase):
|
|
table = WirelessLinkTable
|