"""Tests for Subaccount Class.""" from video.models.ows.classes.subaccount import Subaccount def test_init() -> None: """Test init.""" subaccount = Subaccount( country_id=123, description="gobogobogobogobo", subaccount_id=456, name="cool subaccount", vendor_id=222, ) assert subaccount.country_id == 123 assert subaccount.description == "gobogobogobogobo" assert subaccount.subaccount_id == 456 assert subaccount.name == "cool subaccount" assert subaccount.vendor_id == 222 assert subaccount.to_dict() == { "country_id": subaccount.country_id, "description": subaccount.description, "id": subaccount.subaccount_id, "name": subaccount.name, "vendor_id": subaccount.vendor_id, }