Linux biogene 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1 (2020-06-09) x86_64
Apache
: 46.101.124.208 | : 18.219.206.240
Cant Read [ /etc/named.conf ]
5.6.40-0+deb8u12
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
dist-packages /
setuptools /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
12.24
KB
-rw-r--r--
__init__.pyc
13.66
KB
-rw-r--r--
environment.py
4.55
KB
-rw-r--r--
environment.pyc
4.99
KB
-rw-r--r--
py26compat.py
267
B
-rw-r--r--
py26compat.pyc
795
B
-rw-r--r--
script-with-bom.py
46
B
-rw-r--r--
script-with-bom.pyc
183
B
-rw-r--r--
server.py
2.59
KB
-rw-r--r--
server.pyc
4.06
KB
-rw-r--r--
test_bdist_egg.py
1.92
KB
-rw-r--r--
test_bdist_egg.pyc
2.87
KB
-rw-r--r--
test_build_ext.py
650
B
-rw-r--r--
test_build_ext.pyc
1.06
KB
-rw-r--r--
test_develop.py
3.41
KB
-rw-r--r--
test_develop.pyc
3.82
KB
-rw-r--r--
test_dist_info.py
2.55
KB
-rw-r--r--
test_dist_info.pyc
3.39
KB
-rw-r--r--
test_easy_install.py
15.34
KB
-rw-r--r--
test_easy_install.pyc
17.09
KB
-rw-r--r--
test_egg_info.py
6.59
KB
-rw-r--r--
test_egg_info.pyc
7.35
KB
-rw-r--r--
test_find_packages.py
5.86
KB
-rw-r--r--
test_find_packages.pyc
8.52
KB
-rw-r--r--
test_integration.py
2.45
KB
-rw-r--r--
test_integration.pyc
3.14
KB
-rw-r--r--
test_markerlib.py
2.45
KB
-rw-r--r--
test_markerlib.pyc
2.78
KB
-rw-r--r--
test_packageindex.py
7.45
KB
-rw-r--r--
test_packageindex.pyc
9.69
KB
-rw-r--r--
test_resources.py
23.09
KB
-rwxr-xr-x
test_resources.pyc
26.69
KB
-rw-r--r--
test_sandbox.py
2.31
KB
-rw-r--r--
test_sandbox.pyc
3.92
KB
-rw-r--r--
test_sdist.py
17.56
KB
-rw-r--r--
test_sdist.pyc
16.29
KB
-rw-r--r--
test_svn.py
7.62
KB
-rw-r--r--
test_svn.pyc
11.39
KB
-rw-r--r--
test_test.py
3.61
KB
-rw-r--r--
test_test.pyc
3.88
KB
-rw-r--r--
test_upload_docs.py
2.09
KB
-rw-r--r--
test_upload_docs.pyc
2.6
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_test.py
# -*- coding: UTF-8 -*- """develop tests """ import os import shutil import site import sys import tempfile import unittest from distutils.errors import DistutilsError from setuptools.compat import StringIO, PY2 from setuptools.command.test import test from setuptools.command import easy_install as easy_install_pkg from setuptools.dist import Distribution SETUP_PY = """\ from setuptools import setup setup(name='foo', packages=['name', 'name.space', 'name.space.tests'], namespace_packages=['name'], test_suite='name.space.tests.test_suite', ) """ NS_INIT = """# -*- coding: Latin-1 -*- # Söme Arbiträry Ünicode to test Issüé 310 try: __import__('pkg_resources').declare_namespace(__name__) except ImportError: from pkgutil import extend_path __path__ = extend_path(__path__, __name__) """ # Make sure this is Latin-1 binary, before writing: if PY2: NS_INIT = NS_INIT.decode('UTF-8') NS_INIT = NS_INIT.encode('Latin-1') TEST_PY = """import unittest class TestTest(unittest.TestCase): def test_test(self): print "Foo" # Should fail under Python 3 unless 2to3 is used test_suite = unittest.makeSuite(TestTest) """ class TestTestTest(unittest.TestCase): def setUp(self): if sys.version < "2.6" or hasattr(sys, 'real_prefix'): return # Directory structure self.dir = tempfile.mkdtemp() os.mkdir(os.path.join(self.dir, 'name')) os.mkdir(os.path.join(self.dir, 'name', 'space')) os.mkdir(os.path.join(self.dir, 'name', 'space', 'tests')) # setup.py setup = os.path.join(self.dir, 'setup.py') f = open(setup, 'wt') f.write(SETUP_PY) f.close() self.old_cwd = os.getcwd() # name/__init__.py init = os.path.join(self.dir, 'name', '__init__.py') f = open(init, 'wb') f.write(NS_INIT) f.close() # name/space/__init__.py init = os.path.join(self.dir, 'name', 'space', '__init__.py') f = open(init, 'wt') f.write('#empty\n') f.close() # name/space/tests/__init__.py init = os.path.join(self.dir, 'name', 'space', 'tests', '__init__.py') f = open(init, 'wt') f.write(TEST_PY) f.close() os.chdir(self.dir) self.old_base = site.USER_BASE site.USER_BASE = tempfile.mkdtemp() self.old_site = site.USER_SITE site.USER_SITE = tempfile.mkdtemp() def tearDown(self): if sys.version < "2.6" or hasattr(sys, 'real_prefix'): return os.chdir(self.old_cwd) shutil.rmtree(self.dir) shutil.rmtree(site.USER_BASE) shutil.rmtree(site.USER_SITE) site.USER_BASE = self.old_base site.USER_SITE = self.old_site def test_test(self): if sys.version < "2.6" or hasattr(sys, 'real_prefix'): return dist = Distribution(dict( name='foo', packages=['name', 'name.space', 'name.space.tests'], namespace_packages=['name'], test_suite='name.space.tests.test_suite', use_2to3=True, )) dist.script_name = 'setup.py' cmd = test(dist) cmd.user = 1 cmd.ensure_finalized() cmd.install_dir = site.USER_SITE cmd.user = 1 old_stdout = sys.stdout sys.stdout = StringIO() try: try: # try/except/finally doesn't work in Python 2.4, so we need nested try-statements. cmd.run() except SystemExit: # The test runner calls sys.exit, stop that making an error. pass finally: sys.stdout = old_stdout
Close