Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.54
28 Domain
?7.4.33
yvffpqmy
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
site-packages /
supervisor /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
?;
fixtures
[ DIR ]
drwxr-xr-x
__init__.py
20
B
-rw-r--r--
__init__.pyc
148
B
-rw-r--r--
__init__.pyo
148
B
-rw-r--r--
base.py
33.88
KB
-rw-r--r--
base.pyc
52.56
KB
-rw-r--r--
base.pyo
52.56
KB
-rw-r--r--
test_childutils.py
5.27
KB
-rw-r--r--
test_childutils.pyc
7.63
KB
-rw-r--r--
test_childutils.pyo
7.63
KB
-rw-r--r--
test_confecho.py
540
B
-rw-r--r--
test_confecho.pyc
1.25
KB
-rw-r--r--
test_confecho.pyo
1.25
KB
-rw-r--r--
test_datatypes.py
26.65
KB
-rw-r--r--
test_datatypes.pyc
47.5
KB
-rw-r--r--
test_datatypes.pyo
47.5
KB
-rw-r--r--
test_dispatchers.py
47.68
KB
-rw-r--r--
test_dispatchers.pyc
47.49
KB
-rw-r--r--
test_dispatchers.pyo
47.49
KB
-rw-r--r--
test_events.py
20.35
KB
-rw-r--r--
test_events.pyc
24.96
KB
-rw-r--r--
test_events.pyo
24.96
KB
-rw-r--r--
test_http.py
24.48
KB
-rw-r--r--
test_http.pyc
34.38
KB
-rw-r--r--
test_http.pyo
34.38
KB
-rw-r--r--
test_loggers.py
12.65
KB
-rw-r--r--
test_loggers.pyc
18.18
KB
-rw-r--r--
test_loggers.pyo
18.18
KB
-rw-r--r--
test_options.py
132.88
KB
-rw-r--r--
test_options.pyc
136.01
KB
-rw-r--r--
test_options.pyo
136.01
KB
-rw-r--r--
test_poller.py
16.29
KB
-rw-r--r--
test_poller.pyc
20.74
KB
-rw-r--r--
test_poller.pyo
20.5
KB
-rw-r--r--
test_process.py
91.59
KB
-rw-r--r--
test_process.pyc
93.63
KB
-rw-r--r--
test_process.pyo
93.63
KB
-rw-r--r--
test_rpcinterfaces.py
94.86
KB
-rw-r--r--
test_rpcinterfaces.pyc
80.93
KB
-rw-r--r--
test_rpcinterfaces.pyo
80.93
KB
-rw-r--r--
test_socket_manager.py
7.84
KB
-rw-r--r--
test_socket_manager.pyc
11.29
KB
-rw-r--r--
test_socket_manager.pyo
11.29
KB
-rw-r--r--
test_states.py
2.22
KB
-rw-r--r--
test_states.pyc
4.4
KB
-rw-r--r--
test_states.pyo
4.4
KB
-rw-r--r--
test_supervisorctl.py
66.26
KB
-rw-r--r--
test_supervisorctl.pyc
87.29
KB
-rw-r--r--
test_supervisorctl.pyo
87.29
KB
-rw-r--r--
test_supervisord.py
29.39
KB
-rw-r--r--
test_supervisord.pyc
27.4
KB
-rw-r--r--
test_supervisord.pyo
27.4
KB
-rw-r--r--
test_web.py
6.67
KB
-rw-r--r--
test_web.pyc
9.52
KB
-rw-r--r--
test_web.pyo
9.52
KB
-rw-r--r--
test_xmlrpc.py
34.05
KB
-rw-r--r--
test_xmlrpc.pyc
47.64
KB
-rw-r--r--
test_xmlrpc.pyo
47.64
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_states.py
"""Test suite for supervisor.states""" import sys import unittest from supervisor import states class TopLevelProcessStateTests(unittest.TestCase): def test_module_has_process_states(self): self.assertTrue(hasattr(states, 'ProcessStates')) def test_stopped_states_do_not_overlap_with_running_states(self): for state in states.STOPPED_STATES: self.assertFalse(state in states.RUNNING_STATES) def test_running_states_do_not_overlap_with_stopped_states(self): for state in states.RUNNING_STATES: self.assertFalse(state in states.STOPPED_STATES) def test_getProcessStateDescription_returns_string_when_found(self): state = states.ProcessStates.STARTING self.assertEqual(states.getProcessStateDescription(state), 'STARTING') def test_getProcessStateDescription_returns_None_when_not_found(self): self.assertEqual(states.getProcessStateDescription(3.14159), None) class TopLevelSupervisorStateTests(unittest.TestCase): def test_module_has_supervisor_states(self): self.assertTrue(hasattr(states, 'SupervisorStates')) def test_getSupervisorStateDescription_returns_string_when_found(self): state = states.SupervisorStates.RUNNING self.assertEqual(states.getSupervisorStateDescription(state), 'RUNNING') def test_getSupervisorStateDescription_returns_None_when_not_found(self): self.assertEqual(states.getSupervisorStateDescription(3.14159), None) class TopLevelEventListenerStateTests(unittest.TestCase): def test_module_has_eventlistener_states(self): self.assertTrue(hasattr(states, 'EventListenerStates')) def test_getEventListenerStateDescription_returns_string_when_found(self): state = states.EventListenerStates.ACKNOWLEDGED self.assertEqual(states.getEventListenerStateDescription(state), 'ACKNOWLEDGED') def test_getEventListenerStateDescription_returns_None_when_not_found(self): self.assertEqual(states.getEventListenerStateDescription(3.14159), None) def test_suite(): return unittest.findTestCases(sys.modules[__name__]) if __name__ == '__main__': unittest.main(defaultTest='test_suite')
Close