towerops/test/support
Graham McIntire 53f7a31c2d
test: add comprehensive VISP sync tests and Gaiia/SNMP fixtures
- Created comprehensive VISP sync test suite (10 tests, all passing)
  - Tests Decimal-based MRR calculations (float, integer, nil handling)
  - Tests API error handling (401, 403, 500, connection errors)
  - Tests sync status and message updates
  - Validates financial correctness after float→Decimal refactor

- Added GaiiaFixtures module for test support
  - gaiia_integration_fixture/2
  - gaiia_account_fixture/3
  - gaiia_inventory_item_fixture/2
  - gaiia_network_site_fixture/3

- Extended SnmpFixtures with missing helpers
  - arp_entry_fixture/2 for ARP table tests
  - wireless_client_fixture/3 wrapper for positional args

- Extended DevicesFixtures and OrganizationsFixtures
  - device_fixture/3 wrapper (org_id, site_id, attrs)
  - site_fixture/2 for creating test sites

Note: subscriber_matching_test.exs created but has 10 failing tests
(testing private functions, missing Repo.query_count/1). Will address
separately if needed.
2026-03-10 12:36:07 -05:00
..
fixtures test: add comprehensive VISP sync tests and Gaiia/SNMP fixtures 2026-03-10 12:36:07 -05:00
conn_case.ex perf(tests): disable TOTP by default in fixtures for faster tests 2026-03-06 07:21:52 -06:00
data_case.ex format 2025-12-21 11:31:08 -06:00
live_view_test_helpers.ex feat: implement Arista EOS sensor enhancements (DOM power, thresholds, grouping) 2026-02-11 17:23:33 -06:00
ping_stub.ex snmp bits 2026-01-03 14:41:28 -06:00
snmp_kit_mock.ex fix nil firmware comparison 2026-02-05 13:47:56 -06:00