# Path: kitty/interfaces/base.py
# class EmptyInterface(BaseInterface):
#     '''
#     This interface may be used when there is no need for user interface
#     '''
# 
#     def __init__(self, name='EmptyInterface', logger=None):
#         '''
#         :param name: name of the object
#         :param logger: logger for the object (default: None)
#         '''
#         super(EmptyInterface, self).__init__(name, logger)
# 
#     def failure_detected(self):
#         '''
#         handle failure detection
#         '''
#         pass
# 
#     def progress(self):
#         '''
#         handle progress
#         '''
#         pass
# 
#     def finished(self):
#         '''
#         handle finished
#         '''
#         pass
# 
#     def _start(self):
#         pass
# 
#     def _stop(self):
#         pass


import unittest
import logging
import time
import os
from kitty.model import Template, GraphModel, String, UInt32
from kitty.fuzzers import ServerFuzzer
from kitty.interfaces.base import EmptyInterface
from mocks.mock_target import ServerTargetMock
        self.logger = get_test_logger()
        self.logger.debug('TESTING METHOD: %s', self._testMethodName)

        self.t_str = Template(name='simple_str_template', fields=[String(name='str1', value='kitty')])

        self.t_int = Template(name='simple_int_template', fields=[UInt32(name='int1', value=0x1234)])
        self.fuzzer = None
        self.prepare()

    def tearDown(self):
        if self.fuzzer:
            self.fuzzer.stop()
        if self.session_file_name:
            if os.path.exists(self.session_file_name):
                os.remove(self.session_file_name)

    def new_model(self):
        model = GraphModel()
        model.logger = self.logger
        model.connect(
            Template(name='simple_str_template', fields=[String(name='str1', value='kitty')])
        )
        return model

    def prepare(self):
        self.start_index = 10
        self.end_index = 20
        self.delay_duration = 0
        self.session_file_name = None


# Path: kitty/interfaces/base.py
# class EmptyInterface(BaseInterface):
#     '''
#     This interface may be used when there is no need for user interface
#     '''
# 
#     def __init__(self, name='EmptyInterface', logger=None):
#         '''
#         :param name: name of the object
#         :param logger: logger for the object (default: None)
#         '''
#         super(EmptyInterface, self).__init__(name, logger)
# 
#     def failure_detected(self):
#         '''
#         handle failure detection
#         '''
#         pass
# 
#     def progress(self):
#         '''
#         handle progress
#         '''
#         pass
# 
#     def finished(self):
#         '''
#         handle finished
#         '''
#         pass
# 
#     def _start(self):
#         pass
# 
#     def _stop(self):
#         pass


# Path: tests/test_fuzzer_server.py
import unittest
import logging
import time
import os
from kitty.model import Template, GraphModel, String, UInt32
from kitty.fuzzers import ServerFuzzer
from kitty.interfaces.base import EmptyInterface
from mocks.mock_target import ServerTargetMock

        self.logger = get_test_logger()
        self.logger.debug('TESTING METHOD: %s', self._testMethodName)

        self.t_str = Template(name='simple_str_template', fields=[String(name='str1', value='kitty')])

        self.t_int = Template(name='simple_int_template', fields=[UInt32(name='int1', value=0x1234)])
        self.fuzzer = None
        self.prepare()

    def tearDown(self):
        if self.fuzzer:
            self.fuzzer.stop()
        if self.session_file_name:
            if os.path.exists(self.session_file_name):
                os.remove(self.session_file_name)

    def new_model(self):
        model = GraphModel()
        model.logger = self.logger
        model.connect(
            Template(name='simple_str_template', fields=[String(name='str1', value='kitty')])
        )
        return model

    def prepare(self):
        self.start_index = 10
        self.end_index = 20
        self.delay_duration = 0
        self.session_file_name = None


        self.interface = EmptyInterface()