def test_account_properties_to_dict(self): model = _models.AccountProperties( custom_model_count=5, custom_model_limit=10, ) d = model.to_dict() final = { "custom_model_count": 5, "custom_model_limit": 10, } assert d == final
def test_account_properties(self): model = _models.AccountProperties(custom_model_count=100, custom_model_limit=1000) model_repr = "AccountProperties(custom_model_count=100, custom_model_limit=1000)" assert repr(model) == model_repr