Test creating status info.
(self)
| 62 | """Test ServerStatusInfo model.""" |
| 63 | |
| 64 | def test_creation(self): |
| 65 | """Test creating status info.""" |
| 66 | status = ServerStatusInfo( |
| 67 | icon="✅", status="Connected", reason="Server is online" |
| 68 | ) |
| 69 | |
| 70 | assert status.icon == "✅" |
| 71 | assert status.status == "Connected" |
| 72 | assert status.reason == "Server is online" |
| 73 | |
| 74 | def test_required_fields(self): |
| 75 | """Test that all fields are required.""" |
nothing calls this directly
no test coverage detected