import pytest
from illuminate import *

MOCK_SERVER: str = 'mock.com'
MOCK_USER: str = 'mock'
MOCK_PASS: str = 'mock'
MOCK_INDICATOR: str = 'mock-indicator'

BASE_MOCK_JSON: dict = {
    'type': 'domain',
    'value': {
        'name': f'{MOCK_INDICATOR}',
        'classification': 'U'
    },
    'description': None,
    'activityDates': [
        {
            'date': '2020-01-20',
            'classification': 'U'
        }
    ],
    'reportedDates': [
        {
            'date': '2020-01-31',
            'classification': 'U'
        }
    ],
    'targets': [
        {
            'name': 'Mock Target',
            'id': 1,
            'classification': 'U'
        }
    ],
    'attackPatterns': [
        {
            'name': 'Mock Attack Pattern',
            'id': 1,
            'classification': 'U'
        }
    ],
    'actors': [
        {
            'name': 'Mock Actor',
            'id': 1,
            'classification': 'U'
        }
    ],
    'malwares': [],
    'status': 'aw',
    'hashes': None,
    'fileNames': None,
    'fileSize': None,
    'path': None,
    'ports': [],
    'ipRegistration': None,
    'domainRegistration': None,
    'ipResolution': None,
    'originatingIps': None,
    'subjects': None,
    'requestMethods': None,
    'tlp': 'mocktlp',
    'tlpJustification': None,
    'tlpCaveats': None,
    'tlpResolution': 'resolved',