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
""" This plugin bypasses the actual execution of tests, and instead just collects test names. Fixtures are also bypassed, so running nosetests with the collection plugin enabled should be very quick. This plugin is useful in combination with the testid plugin (``--with-id``). Run both together to get an indexed list of all tests, which will enable you to run individual tests by index number. This plugin is also useful for counting tests in a test suite, and making people watching your demo think all of your tests pass. """ from nose.plugins.base import Plugin from nose.case import Test import logging import unittest log = logging.getLogger(__name__) class CollectOnly(Plugin): """ Collect and output test names only, don't run any tests. """ name = "collect-only" enableOpt = 'collect_only' def options(self, parser, env): """Register commandline options. """ parser.add_option('--collect-only', action='store_true', dest=self.enableOpt, default=env.get('NOSE_COLLECT_ONLY'), help="Enable collect-only: %s [COLLECT_ONLY]" % (self.help())) def prepareTestLoader(self, loader): """Install collect-only suite class in TestLoader. """ # Disable context awareness log.debug("Preparing test loader") loader.suiteClass = TestSuiteFactory(self.conf) def prepareTestCase(self, test): """Replace actual test with dummy that always passes. """ # Return something that always passes log.debug("Preparing test case %s", test) if not isinstance(test, Test): return def run(result): # We need to make these plugin calls because there won't be # a result proxy, due to using a stripped-down test suite self.conf.plugins.startTest(test) result.startTest(test) self.conf.plugins.addSuccess(test) result.addSuccess(test) self.conf.plugins.stopTest(test) result.stopTest(test) return run class TestSuiteFactory: """ Factory for producing configured test suites. """ def __init__(self, conf): self.conf = conf def __call__(self, tests=(), **kw): return TestSuite(tests, conf=self.conf) class TestSuite(unittest.TestSuite): """ Basic test suite that bypasses most proxy and plugin calls, but does wrap tests in a nose.case.Test so prepareTestCase will be called. """ def __init__(self, tests=(), conf=None): self.conf = conf # Exec lazy suites: makes discovery depth-first if callable(tests): tests = tests() log.debug("TestSuite(%r)", tests) unittest.TestSuite.__init__(self, tests) def addTest(self, test): log.debug("Add test %s", test) if isinstance(test, unittest.TestSuite): self._tests.append(test) else: self._tests.append(Test(test, config=self.conf))