# Path: tenable_io/api/models.py
# class Session(BaseModel):
# 
#     def __init__(
#             self,
#             id=None,
#             username=None,
#             email=None,
#             name=None,
#             type=None,
#             permissions=None,
#             lastlogin=None,
#             container_id=None,
#             groups=None,
#     ):
#         self.id = id
#         self.username = username
#         self.email = email
#         self.name = name
#         self.type = type
#         self.permissions = permissions
#         self.lastlogin = lastlogin
#         self.container_id = container_id
#         self.groups = groups


import pytest
from tenable_io.api.models import Session



@pytest.mark.vcr()
def test_session_get(client):
    session = client.session_api.get()

# Path: tenable_io/api/models.py
# class Session(BaseModel):
# 
#     def __init__(
#             self,
#             id=None,
#             username=None,
#             email=None,
#             name=None,
#             type=None,
#             permissions=None,
#             lastlogin=None,
#             container_id=None,
#             groups=None,
#     ):
#         self.id = id
#         self.username = username
#         self.email = email
#         self.name = name
#         self.type = type
#         self.permissions = permissions
#         self.lastlogin = lastlogin
#         self.container_id = container_id
#         self.groups = groups


# Path: tests/integration/api/test_session.py
import pytest
from tenable_io.api.models import Session




@pytest.mark.vcr()
def test_session_get(client):
    session = client.session_api.get()

    assert isinstance(session, Session), u'The `get` method did not return type `Session`.'