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 /
nose /
plugins /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
6.14
KB
-rw-r--r--
2013-04-05 18:25
__init__.pyc
6.39
KB
-rw-r--r--
2017-08-01 23:26
__init__.pyo
6.39
KB
-rw-r--r--
2017-08-01 23:26
allmodules.py
1.68
KB
-rw-r--r--
2012-09-29 04:18
allmodules.pyc
2.32
KB
-rw-r--r--
2017-08-01 23:26
allmodules.pyo
2.32
KB
-rw-r--r--
2017-08-01 23:26
attrib.py
9.43
KB
-rw-r--r--
2014-02-19 06:44
attrib.pyc
8.94
KB
-rw-r--r--
2017-08-01 23:26
attrib.pyo
8.94
KB
-rw-r--r--
2017-08-01 23:26
base.py
25.45
KB
-rw-r--r--
2015-03-18 19:44
base.pyc
30.79
KB
-rw-r--r--
2017-08-01 23:26
base.pyo
30.79
KB
-rw-r--r--
2017-08-01 23:26
builtin.py
1021
B
-rw-r--r--
2012-10-02 15:19
builtin.pyc
1.74
KB
-rw-r--r--
2017-08-01 23:26
builtin.pyo
1.74
KB
-rw-r--r--
2017-08-01 23:26
capture.py
5.15
KB
-rw-r--r--
2017-08-01 23:25
capture.pyc
5.48
KB
-rw-r--r--
2017-08-01 23:26
capture.pyo
5.48
KB
-rw-r--r--
2017-08-01 23:26
collect.py
3.04
KB
-rw-r--r--
2012-09-29 04:18
collect.pyc
4.32
KB
-rw-r--r--
2017-08-01 23:26
collect.pyo
4.32
KB
-rw-r--r--
2017-08-01 23:26
cover.py
11.4
KB
-rw-r--r--
2015-04-04 05:28
cover.pyc
9.39
KB
-rw-r--r--
2017-08-01 23:26
cover.pyo
9.39
KB
-rw-r--r--
2017-08-01 23:26
debug.py
2.22
KB
-rw-r--r--
2014-04-19 09:48
debug.pyc
2.81
KB
-rw-r--r--
2017-08-01 23:26
debug.pyo
2.81
KB
-rw-r--r--
2017-08-01 23:26
deprecated.py
1.51
KB
-rw-r--r--
2014-04-19 09:48
deprecated.pyc
2.2
KB
-rw-r--r--
2017-08-01 23:26
deprecated.pyo
2.2
KB
-rw-r--r--
2017-08-01 23:26
doctests.py
17.23
KB
-rw-r--r--
2017-08-01 23:25
doctests.pyc
16.87
KB
-rw-r--r--
2017-08-01 23:26
doctests.pyo
16.87
KB
-rw-r--r--
2017-08-01 23:26
errorclass.py
7.11
KB
-rw-r--r--
2014-04-19 09:44
errorclass.pyc
8.76
KB
-rw-r--r--
2017-08-01 23:26
errorclass.pyo
8.76
KB
-rw-r--r--
2017-08-01 23:26
failuredetail.py
1.6
KB
-rw-r--r--
2015-04-04 04:52
failuredetail.pyc
2.29
KB
-rw-r--r--
2017-08-01 23:26
failuredetail.pyo
2.29
KB
-rw-r--r--
2017-08-01 23:26
isolate.py
3.66
KB
-rw-r--r--
2012-09-29 04:18
isolate.pyc
4.64
KB
-rw-r--r--
2017-08-01 23:26
isolate.pyo
4.64
KB
-rw-r--r--
2017-08-01 23:26
logcapture.py
9.13
KB
-rw-r--r--
2015-04-04 04:52
logcapture.pyc
11.03
KB
-rw-r--r--
2017-08-01 23:26
logcapture.pyo
11.03
KB
-rw-r--r--
2017-08-01 23:26
manager.py
15.22
KB
-rw-r--r--
2014-08-13 05:44
manager.pyc
19.3
KB
-rw-r--r--
2017-08-01 23:26
manager.pyo
19.3
KB
-rw-r--r--
2017-08-01 23:26
multiprocess.py
34.45
KB
-rw-r--r--
2014-03-29 06:20
multiprocess.pyc
26.79
KB
-rw-r--r--
2017-08-01 23:26
multiprocess.pyo
26.79
KB
-rw-r--r--
2017-08-01 23:26
plugintest.py
13.22
KB
-rw-r--r--
2015-04-04 04:52
plugintest.pyc
15.51
KB
-rw-r--r--
2017-08-01 23:26
plugintest.pyo
15.51
KB
-rw-r--r--
2017-08-01 23:26
prof.py
5.23
KB
-rw-r--r--
2012-09-29 04:18
prof.pyc
5.28
KB
-rw-r--r--
2017-08-01 23:26
prof.pyo
5.28
KB
-rw-r--r--
2017-08-01 23:26
skip.py
2.09
KB
-rw-r--r--
2015-04-04 04:52
skip.pyc
2.48
KB
-rw-r--r--
2017-08-01 23:26
skip.pyo
2.48
KB
-rw-r--r--
2017-08-01 23:26
testid.py
9.68
KB
-rw-r--r--
2015-04-04 04:52
testid.pyc
9
KB
-rw-r--r--
2017-08-01 23:26
testid.pyo
9
KB
-rw-r--r--
2017-08-01 23:26
xunit.py
11.39
KB
-rw-r--r--
2015-04-04 04:52
xunit.pyc
13.26
KB
-rw-r--r--
2017-08-01 23:26
xunit.pyo
13.26
KB
-rw-r--r--
2017-08-01 23:26
Save
Rename
"""The isolation plugin resets the contents of sys.modules after running each test module or package. Use it by setting ``--with-isolation`` or the NOSE_WITH_ISOLATION environment variable. The effects are similar to wrapping the following functions around the import and execution of each test module:: def setup(module): module._mods = sys.modules.copy() def teardown(module): to_del = [ m for m in sys.modules.keys() if m not in module._mods ] for mod in to_del: del sys.modules[mod] sys.modules.update(module._mods) Isolation works only during lazy loading. In normal use, this is only during discovery of modules within a directory, where the process of importing, loading tests and running tests from each module is encapsulated in a single loadTestsFromName call. This plugin implements loadTestsFromNames to force the same lazy-loading there, which allows isolation to work in directed mode as well as discovery, at the cost of some efficiency: lazy-loading names forces full context setup and teardown to run for each name, defeating the grouping that is normally used to ensure that context setup and teardown are run the fewest possible times for a given set of names. .. warning :: This plugin should not be used in conjunction with other plugins that assume that modules, once imported, will stay imported; for instance, it may cause very odd results when used with the coverage plugin. """ import logging import sys from nose.plugins import Plugin log = logging.getLogger('nose.plugins.isolation') class IsolationPlugin(Plugin): """ Activate the isolation plugin to isolate changes to external modules to a single test module or package. The isolation plugin resets the contents of sys.modules after each test module or package runs to its state before the test. PLEASE NOTE that this plugin should not be used with the coverage plugin, or in any other case where module reloading may produce undesirable side-effects. """ score = 10 # I want to be last name = 'isolation' def configure(self, options, conf): """Configure plugin. """ Plugin.configure(self, options, conf) self._mod_stack = [] def beforeContext(self): """Copy sys.modules onto my mod stack """ mods = sys.modules.copy() self._mod_stack.append(mods) def afterContext(self): """Pop my mod stack and restore sys.modules to the state it was in when mod stack was pushed. """ mods = self._mod_stack.pop() to_del = [ m for m in sys.modules.keys() if m not in mods ] if to_del: log.debug('removing sys modules entries: %s', to_del) for mod in to_del: del sys.modules[mod] sys.modules.update(mods) def loadTestsFromNames(self, names, module=None): """Create a lazy suite that calls beforeContext and afterContext around each name. The side-effect of this is that full context fixtures will be set up and torn down around each test named. """ # Fast path for when we don't care if not names or len(names) == 1: return loader = self.loader plugins = self.conf.plugins def lazy(): for name in names: plugins.beforeContext() yield loader.loadTestsFromName(name, module=module) plugins.afterContext() return (loader.suiteClass(lazy), []) def prepareTestLoader(self, loader): """Get handle on test loader so we can use it in loadTestsFromNames. """ self.loader = loader