# Path: tenable_io/api/models.py
# class Folder(BaseModel):
# 
#     TYPE_CUSTOM = 'custom'
#     TYPE_MAIN = 'main'
#     TYPE_TRASH = 'trash'
# 
#     def __init__(
#             self,
#             id=None,
#             name=None,
#             type=None,
#             default_tag=None,
#             custom=None,
#             unread_count=None,
#     ):
#         self.id = id
#         self.name = name
#         self.type = type
#         self.default_tag = default_tag
#         self.custom = custom
#         self.unread_count = unread_count
# 
# Path: tests/config.py
# class TenableIOTestConfig(object):
# 
#     @staticmethod
#     def get(key):
#         return config.get('tenable_io-test', key)


import pytest
from random import randint
from tenable_io.api.models import Folder
from tests.config import TenableIOTestConfig




def create_scan(client):
    return client.scan_helper.create(
        'test_scan_{}'.format(randint(0, 1000)),
        TenableIOTestConfig.get('scan_text_targets'),

# Path: tenable_io/api/models.py
# class Folder(BaseModel):
# 
#     TYPE_CUSTOM = 'custom'
#     TYPE_MAIN = 'main'
#     TYPE_TRASH = 'trash'
# 
#     def __init__(
#             self,
#             id=None,
#             name=None,
#             type=None,
#             default_tag=None,
#             custom=None,
#             unread_count=None,
#     ):
#         self.id = id
#         self.name = name
#         self.type = type
#         self.default_tag = default_tag
#         self.custom = custom
#         self.unread_count = unread_count
# 
# Path: tests/config.py
# class TenableIOTestConfig(object):
# 
#     @staticmethod
#     def get(key):
#         return config.get('tenable_io-test', key)


# Path: tests/integration/helpers/test_folder.py
import pytest
from random import randint
from tenable_io.api.models import Folder
from tests.config import TenableIOTestConfig





def create_scan(client):
    return client.scan_helper.create(
        'test_scan_{}'.format(randint(0, 1000)),
        TenableIOTestConfig.get('scan_text_targets'),

        TenableIOTestConfig.get('scan_template_name')