# Path: seedbox/db/models.py
# class Model(object):
# class Torrent(Model):
# class MediaFile(Model):
# class AppState(Model):
#     PK_NAME = 'id'
#     PK_NAME = 'torrent_id'
#     PK_NAME = 'media_id'
#     PK_NAME = 'name'
#     def __init__(self, **kwds):
#     def as_dict(self):
#     def items(self):
#     def __eq__(self, other):
#     def __iter__(self):
#     def __getitem__(self, name):
#     def __setitem__(self, name, value):
#     def __contains__(self, name):
#     def __str__(self):
#     def pk_filter(cls, value=None):
#     def make_empty(cls):
#     def __init__(self, torrent_id, name, created_at=None, updated_at=None,
#                  state=None, retry_count=None, failed=None, error_msg=None,
#                  invalid=None, purged=None, media_files=None):
#     def __init__(self, media_id, torrent_id, filename, file_ext,
#                  file_path=None, size=None, compressed=None, synced=None,
#                  missing=None, skipped=None, error_msg=None, total_time=None):
#     def __init__(self, name, value):
# 
# Path: seedbox/tasks/filesync.py
# LOG = logging.getLogger(__name__)
# class SyncFile(base.BaseTask):
#     def __init__(self, media_file):
#     def cmd(self):
#     def destination(self):
#     def is_actionable(media_file):
#     def execute(self):
# 
# Path: seedbox/tests/test.py
# class ConfiguredBaseTestCase(BaseTestCase):
#     def setUp(self):
#     def tearDown(self):
#     def _make_dir(self, dirname):
#     def set_required_options(self):


import os
from seedbox.db import models
from seedbox.tasks import filesync
from seedbox.tests import test
                               group='tasks_filesync')

        self.CONF.set_override('progress',
                               True,
                               group='tasks_filesync')

        self.CONF.set_override('perms',
                               False,
                               group='tasks_filesync')

        self.CONF.set_override('delayupdates',
                               False,
                               group='tasks_filesync')

        self.CONF.set_override('recursive',
                               False,
                               group='tasks_filesync')

        self.CONF.set_override('chmod',
                               None,
                               group='tasks_filesync')

        self.CONF.set_override('identity',
                               '/tmp',
                               group='tasks_filesync')

        self.CONF.set_override('port',
                               None,
                               group='tasks_filesync')


# Path: seedbox/db/models.py
# class Model(object):
# class Torrent(Model):
# class MediaFile(Model):
# class AppState(Model):
#     PK_NAME = 'id'
#     PK_NAME = 'torrent_id'
#     PK_NAME = 'media_id'
#     PK_NAME = 'name'
#     def __init__(self, **kwds):
#     def as_dict(self):
#     def items(self):
#     def __eq__(self, other):
#     def __iter__(self):
#     def __getitem__(self, name):
#     def __setitem__(self, name, value):
#     def __contains__(self, name):
#     def __str__(self):
#     def pk_filter(cls, value=None):
#     def make_empty(cls):
#     def __init__(self, torrent_id, name, created_at=None, updated_at=None,
#                  state=None, retry_count=None, failed=None, error_msg=None,
#                  invalid=None, purged=None, media_files=None):
#     def __init__(self, media_id, torrent_id, filename, file_ext,
#                  file_path=None, size=None, compressed=None, synced=None,
#                  missing=None, skipped=None, error_msg=None, total_time=None):
#     def __init__(self, name, value):
# 
# Path: seedbox/tasks/filesync.py
# LOG = logging.getLogger(__name__)
# class SyncFile(base.BaseTask):
#     def __init__(self, media_file):
#     def cmd(self):
#     def destination(self):
#     def is_actionable(media_file):
#     def execute(self):
# 
# Path: seedbox/tests/test.py
# class ConfiguredBaseTestCase(BaseTestCase):
#     def setUp(self):
#     def tearDown(self):
#     def _make_dir(self, dirname):
#     def set_required_options(self):


# Path: seedbox/tests/tasks/test_filesync.py
import os
from seedbox.db import models
from seedbox.tasks import filesync
from seedbox.tests import test

                               group='tasks_filesync')

        self.CONF.set_override('progress',
                               True,
                               group='tasks_filesync')

        self.CONF.set_override('perms',
                               False,
                               group='tasks_filesync')

        self.CONF.set_override('delayupdates',
                               False,
                               group='tasks_filesync')

        self.CONF.set_override('recursive',
                               False,
                               group='tasks_filesync')

        self.CONF.set_override('chmod',
                               None,
                               group='tasks_filesync')

        self.CONF.set_override('identity',
                               '/tmp',
                               group='tasks_filesync')

        self.CONF.set_override('port',
                               None,
                               group='tasks_filesync')


        task = filesync.SyncFile(self.media_file)