diff --git a/onionr/onionr.py b/onionr/onionr.py index c564dcf2..fbb12bc3 100755 --- a/onionr/onionr.py +++ b/onionr/onionr.py @@ -30,6 +30,7 @@ try: except ImportError: raise Exception("You need the PySocks module (for use with socks5 proxy to use Tor)") +ONIONR_TAGLINE = 'Anonymous P2P Platform - GPLv3 - onionr.voidnet.tech' ONIONR_VERSION = '0.0.0' # for debugging and stuff API_VERSION = '1' # increments of 1; only change when something fundemental about how the API works changes. This way other nodes knows how to communicate without learning too much information about you. @@ -240,7 +241,7 @@ class Onionr: ''' logger.info('Onionr ' + ONIONR_VERSION + ' (' + platform.machine() + ') - API v' + API_VERSION) if verbosity >= 1: - logger.info('Anonymous P2P Platform - GPLv3 - onionr.voidnet.tech') + logger.info(ONIONR_TAGLINE) if verbosity >= 2: logger.info('Running on ' + platform.platform() + ' ' + platform.release()) diff --git a/onionr/tests.py b/onionr/tests.py index c7659cf1..684640b5 100755 --- a/onionr/tests.py +++ b/onionr/tests.py @@ -85,6 +85,16 @@ class OnionrTests(unittest.TestCase): else: self.assertTrue(False) + def testPlugins(self): + logger.debug('--------------------------') + logger.info('Running simple plugin system test...') + import onionrplugins + try: + onionrplugins.reload('test') + self.assertTrue(True) + except: + self.assertTrue(False) + def testQueue(self): logger.debug('--------------------------') logger.info('Running daemon queue test...')