📁
SKYSHELL MANAGER
PHP v8.0.30
Create
Create
Path:
root
/
home
/
godaofbq
/
redlightsquared.com
/
wp-content
/
plugins
/
Name
Size
Perm
Actions
📁
adminify
-
0755
🗑️
🏷️
🔒
📁
adminify-activity-logs
-
0755
🗑️
🏷️
🔒
📁
adminify-pro
-
0755
🗑️
🏷️
🔒
📁
akismet
-
0755
🗑️
🏷️
🔒
📁
all-in-one-wp-migration
-
0755
🗑️
🏷️
🔒
📁
all-in-one-wp-migration-unlimited-extension
-
0755
🗑️
🏷️
🔒
📁
authorizenet-payment-gateway-for-woocommerce
-
0755
🗑️
🏷️
🔒
📁
backuply
-
0755
🗑️
🏷️
🔒
📁
backuply-pro
-
0755
🗑️
🏷️
🔒
📁
cf7-conditional-fields
-
0755
🗑️
🏷️
🔒
📁
classic-editor
-
0755
🗑️
🏷️
🔒
📁
code-snippets
-
0755
🗑️
🏷️
🔒
📁
contact-form-7
-
0755
🗑️
🏷️
🔒
📁
cookieadmin
-
0755
🗑️
🏷️
🔒
📁
cookieadmin-pro
-
0755
🗑️
🏷️
🔒
📁
crisp
-
0755
🗑️
🏷️
🔒
📁
duplicate-page
-
0755
🗑️
🏷️
🔒
📁
duplicator
-
0755
🗑️
🏷️
🔒
📁
export-media-with-selected-content
-
0755
🗑️
🏷️
🔒
📁
google-listings-and-ads
-
0755
🗑️
🏷️
🔒
📁
google-site-kit
-
0755
🗑️
🏷️
🔒
📁
gosmtp
-
0755
🗑️
🏷️
🔒
📁
gosmtp-pro
-
0755
🗑️
🏷️
🔒
📁
header-footer
-
0755
🗑️
🏷️
🔒
📁
litespeed-cache
-
0755
🗑️
🏷️
🔒
📁
loginizer
-
0755
🗑️
🏷️
🔒
📁
loginizer-security
-
0755
🗑️
🏷️
🔒
📁
loginpress
-
0755
🗑️
🏷️
🔒
📁
masterslider
-
0755
🗑️
🏷️
🔒
📁
oxygen
-
0755
🗑️
🏷️
🔒
📁
oxygen-gutenberg
-
0755
🗑️
🏷️
🔒
📁
oxygen-woocommerce
-
0755
🗑️
🏷️
🔒
📁
pagelayer
-
0755
🗑️
🏷️
🔒
📁
pagelayer-pro
-
0755
🗑️
🏷️
🔒
📁
pdf-embedder
-
0755
🗑️
🏷️
🔒
📁
rolemaster-suite
-
0755
🗑️
🏷️
🔒
📁
siteseo
-
0755
🗑️
🏷️
🔒
📁
siteseo-pro
-
0755
🗑️
🏷️
🔒
📁
speedycache
-
0755
🗑️
🏷️
🔒
📁
speedycache-pro
-
0755
🗑️
🏷️
🔒
📁
wc-external-product-new-tab
-
0755
🗑️
🏷️
🔒
📁
woocommerce
-
0755
🗑️
🏷️
🔒
📁
wordpress-seo
-
0755
🗑️
🏷️
🔒
📁
wp-headers-and-footers
-
0755
🗑️
🏷️
🔒
📄
error_log
6279.5 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
login.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: test_xml_dom_minicompat.py
# Tests for xml.dom.minicompat import copy import pickle import unittest import xml.dom from xml.dom.minicompat import * class EmptyNodeListTestCase(unittest.TestCase): """Tests for the EmptyNodeList class.""" def test_emptynodelist_item(self): # Test item access on an EmptyNodeList. node_list = EmptyNodeList() self.assertIsNone(node_list.item(0)) self.assertIsNone(node_list.item(-1)) # invalid item with self.assertRaises(IndexError): node_list[0] with self.assertRaises(IndexError): node_list[-1] def test_emptynodelist_length(self): node_list = EmptyNodeList() # Reading self.assertEqual(node_list.length, 0) # Writing with self.assertRaises(xml.dom.NoModificationAllowedErr): node_list.length = 111 def test_emptynodelist___add__(self): node_list = EmptyNodeList() + NodeList() self.assertEqual(node_list, NodeList()) def test_emptynodelist___radd__(self): node_list = [1,2] + EmptyNodeList() self.assertEqual(node_list, [1,2]) class NodeListTestCase(unittest.TestCase): """Tests for the NodeList class.""" def test_nodelist_item(self): # Test items access on a NodeList. # First, use an empty NodeList. node_list = NodeList() self.assertIsNone(node_list.item(0)) self.assertIsNone(node_list.item(-1)) with self.assertRaises(IndexError): node_list[0] with self.assertRaises(IndexError): node_list[-1] # Now, use a NodeList with items. node_list.append(111) node_list.append(999) self.assertEqual(node_list.item(0), 111) self.assertIsNone(node_list.item(-1)) # invalid item self.assertEqual(node_list[0], 111) self.assertEqual(node_list[-1], 999) def test_nodelist_length(self): node_list = NodeList([1, 2]) # Reading self.assertEqual(node_list.length, 2) # Writing with self.assertRaises(xml.dom.NoModificationAllowedErr): node_list.length = 111 def test_nodelist___add__(self): node_list = NodeList([3, 4]) + [1, 2] self.assertEqual(node_list, NodeList([3, 4, 1, 2])) def test_nodelist___radd__(self): node_list = [1, 2] + NodeList([3, 4]) self.assertEqual(node_list, NodeList([1, 2, 3, 4])) def test_nodelist_pickle_roundtrip(self): # Test pickling and unpickling of a NodeList. for proto in range(pickle.HIGHEST_PROTOCOL + 1): # Empty NodeList. node_list = NodeList() pickled = pickle.dumps(node_list, proto) unpickled = pickle.loads(pickled) self.assertIsNot(unpickled, node_list) self.assertEqual(unpickled, node_list) # Non-empty NodeList. node_list.append(1) node_list.append(2) pickled = pickle.dumps(node_list, proto) unpickled = pickle.loads(pickled) self.assertIsNot(unpickled, node_list) self.assertEqual(unpickled, node_list) def test_nodelist_copy(self): # Empty NodeList. node_list = NodeList() copied = copy.copy(node_list) self.assertIsNot(copied, node_list) self.assertEqual(copied, node_list) # Non-empty NodeList. node_list.append([1]) node_list.append([2]) copied = copy.copy(node_list) self.assertIsNot(copied, node_list) self.assertEqual(copied, node_list) for x, y in zip(copied, node_list): self.assertIs(x, y) def test_nodelist_deepcopy(self): # Empty NodeList. node_list = NodeList() copied = copy.deepcopy(node_list) self.assertIsNot(copied, node_list) self.assertEqual(copied, node_list) # Non-empty NodeList. node_list.append([1]) node_list.append([2]) copied = copy.deepcopy(node_list) self.assertIsNot(copied, node_list) self.assertEqual(copied, node_list) for x, y in zip(copied, node_list): self.assertIsNot(x, y) self.assertEqual(x, y) if __name__ == '__main__': unittest.main()
Save