text: """Test events.
  
  pytest --cov-report term-missing --cov=aiounifi.events tests/test_events.py
  """
  
  import pytest
  
  # from aiounifi.events import event
  # 
  # from .fixtures import EVENT_SWITCH_16_CONNECTED, EVENT_WIRELESS_CLIENT_CONNECTED
  # 
  # 
  # async def test_empty_event():
  #     """Test empty event."""
  #     empty = event({})
  # 
  #     with pytest.raises(KeyError):
  #         assert empty.event
  #     with pytest.raises(KeyError):
  #         assert empty.datetime
  #     with pytest.raises(KeyError):
  #         assert empty.msg
  #     with pytest.raises(KeyError):
  #         assert empty.time
  #     assert empty.mac == ""
  #     assert empty.ap == ""
  #     assert empty.bytes == 0
  #     assert empty.channel == 0
  #     assert empty.duration == 0
  #     assert empty.hostname == ""
  #     assert empty.radio == ""
  #     assert empty.subsystem == ""
  #     assert empty.site_id == ""
  #     assert empty.ssid == ""
  # 
  # 
  # async def test_client_event():
  #     """Test client event."""
  #     event_data = EVENT_WIRELESS_CLIENT_CONNECTED["data"][0]
  #     client = event(event_data)
  # 
  #     assert client.event == "EVT_WU_Connected"
  #     assert client.datetime == "2020-04-24T18:37:36Z"
  #     assert (
  #         client.msg
  #         == 'User[00:00:00:00:00:01] has connected to AP[80:2a:a8:00:01:02] with SSID "SSID" on "channel 44(na)"'
  #     )
  #     assert client.time == 1587753456179
  #     assert client.mac == "00:00:00:00:00:01"
  #     assert client.ap == "80:2a:a8:00:01:02"
  #     assert client.bytes == 0
  #     assert client.channel == 44
  #     assert client.duration == 0
  #     assert client.hostname == "client"
  #     assert client.radio == "na"
  #     assert client.subsystem == "wlan"
  #     assert client.site_id == "5a32aa4ee4b0412345678910"
  #     assert client.ssid == "SSID"
  # 
  # 
  # async def test_device_event():
  #     """Test device event."""
  #     event_data = EVENT_SWITCH_16_CONNECTED["data"][0]
  #     device = event(event_data)
  # 
  #     assert device.event == "EVT_SW_Connected"
  #     assert device.datetime == "2020-05-03T08:35:35Z"
  #     assert device.msg == "Switch[fc:ec:da:11:22:33] was connected"
  #     assert device.time == 1588494935241
  #     assert device.mac == "fc:ec:da:11:22:33"
  #     assert device.ap == ""
  #     assert device.bytes == 0
  #     assert device.channel == 0
  #     assert device.duration == 0
  #     assert device.hostname == ""
  #     assert device.radio == ""
  #     assert device.subsystem == "lan"
  #     assert device.site_id == "5a32aa4ee4b0412345678910"
  #     assert device.ssid == ""
  #     assert device.version_from == ""
  #     assert device.version_to == ""
  # 