Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python2.7 /
site-packages /
netaddr /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
1.9
KB
-rw-r--r--
2018-04-10 23:05
__init__.pyc
1.73
KB
-rw-r--r--
2018-04-10 23:05
__init__.pyo
1.73
KB
-rw-r--r--
2018-04-10 23:05
Save
Rename
#----------------------------------------------------------------------------- # Copyright (c) 2008-2010, David P. D. Moss. All rights reserved. # # Released under the BSD license. See the LICENSE file for details. #----------------------------------------------------------------------------- """Runs all netaddr unit tests.""" from os.path import abspath, basename, dirname, join as pathjoin import sys import glob import doctest import unittest sys.path.insert(0, abspath(pathjoin(dirname(__file__), '..', '..'))) #----------------------------------------------------------------------------- def test_suite_all(): test_dirs = [ 'ip', 'eui', 'strategy', 'core' ] base_path = abspath(pathjoin(dirname(__file__), '..')) py_ver_dir = '2.x' if sys.version_info[0] == 3: py_ver_dir = '3.x' # Gather list of files containing tests. test_files = [] for entry in test_dirs: test_path = pathjoin(base_path, "tests", py_ver_dir, entry, "*.txt") files = glob.glob(test_path) test_files.extend(files) sys.stdout.write('testdir: %s\n' % '\n'.join(test_files)) # Add anything to the skiplist that we want to leave out. skiplist = [] # Exclude any entries from the skip list. test_files = [t for t in test_files if basename(t) not in skiplist] # Build and return a complete unittest test suite. suite = unittest.TestSuite() for test_file in test_files: doctest_suite = doctest.DocFileSuite(test_file, optionflags=doctest.ELLIPSIS, module_relative=False) suite.addTest(doctest_suite) return suite #----------------------------------------------------------------------------- def run(): runner = unittest.TextTestRunner() runner.run(test_suite_all()) #----------------------------------------------------------------------------- if __name__ == "__main__": run()