# Path: tests/config.py
# class TenableIOTestConfig(object):
# 
#     @staticmethod
#     def get(key):
#         return config.get('tenable_io-test', key)


import pytest
from tests.base import BaseTest
from tests.config import TenableIOTestConfig
        from examples.exports import example
        from examples.files import example
        from examples.folders import example
        from examples.policies import example
        from examples.scans import example
        from examples.users import example
        from examples.workbench import example


@pytest.mark.extended_testing
class TestExamples(BaseTest):

    @pytest.mark.vcr()
    def test_exports(self):
        example()

    @pytest.mark.vcr()
    def test_file(self):
        example()

    @pytest.mark.vcr()
    def test_folders(self):
        example()

    @pytest.mark.vcr()
    def test_policies(self):
        example()

    @pytest.mark.skip
    @pytest.mark.vcr()
    def test_scans(self):
        example(TenableIOTestConfig.get('scan_text_targets'))

    @pytest.mark.vcr()
    def test_users(self):

# Path: tests/config.py
# class TenableIOTestConfig(object):
# 
#     @staticmethod
#     def get(key):
#         return config.get('tenable_io-test', key)


# Path: tests/integration/examples/test_examples.py
import pytest
from tests.base import BaseTest
from tests.config import TenableIOTestConfig
        from examples.exports import example
        from examples.files import example
        from examples.folders import example
        from examples.policies import example
        from examples.scans import example
        from examples.users import example
        from examples.workbench import example



@pytest.mark.extended_testing
class TestExamples(BaseTest):

    @pytest.mark.vcr()
    def test_exports(self):
        example()

    @pytest.mark.vcr()
    def test_file(self):
        example()

    @pytest.mark.vcr()
    def test_folders(self):
        example()

    @pytest.mark.vcr()
    def test_policies(self):
        example()

    @pytest.mark.skip
    @pytest.mark.vcr()
    def test_scans(self):
        example(TenableIOTestConfig.get('scan_text_targets'))

    @pytest.mark.vcr()
    def test_users(self):

        example(TenableIOTestConfig.get('users_domain_name'))