# Path: newsreap/NNTPDatabase.py
# class NNTPDatabase(Database):
#     """
#     A managment class to the NNTP Core Database manipulation.
#     """
# 
#     def __init__(self, engine=None, reset=None):
#         """
#         Initialize NNTP Database Manager
#         """
#         super(NNTPDatabase, self).__init__(
#             base=ObjectBase,
#             vsp=Vsp,
#             engine=engine,
#             reset=reset,
#         )


import sys
import gevent.monkey
    import unittest
from os.path import dirname
from os.path import abspath
    from tests.TestBase import TestBase
    from tests.TestBase import TestBase
from newsreap.NNTPDatabase import NNTPDatabase
#
# A base testing class/library to test the NNTP Server and Connection class
#
# Copyright (C) 2015-2016 Chris Caron <lead2gold@gmail.com>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.

if 'threading' in sys.modules:
    #  gevent patching since pytests import
    #  the sys library before we do.
    del sys.modules['threading']

gevent.monkey.patch_all()


try:

except ImportError:
    sys.path.insert(0, dirname(dirname(abspath(__file__))))




# Path: newsreap/NNTPDatabase.py
# class NNTPDatabase(Database):
#     """
#     A managment class to the NNTP Core Database manipulation.
#     """
# 
#     def __init__(self, engine=None, reset=None):
#         """
#         Initialize NNTP Database Manager
#         """
#         super(NNTPDatabase, self).__init__(
#             base=ObjectBase,
#             vsp=Vsp,
#             engine=engine,
#             reset=reset,
#         )


# Path: tests/NNTPDatabase_Test.py
import sys
import gevent.monkey
    import unittest
from os.path import dirname
from os.path import abspath
    from tests.TestBase import TestBase
    from tests.TestBase import TestBase
from newsreap.NNTPDatabase import NNTPDatabase

#
# A base testing class/library to test the NNTP Server and Connection class
#
# Copyright (C) 2015-2016 Chris Caron <lead2gold@gmail.com>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.

if 'threading' in sys.modules:
    #  gevent patching since pytests import
    #  the sys library before we do.
    del sys.modules['threading']

gevent.monkey.patch_all()


try:

except ImportError:
    sys.path.insert(0, dirname(dirname(abspath(__file__))))




class NNTPDatabase_Test(TestBase):