⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
twisted
/
trial
/
test
/
View File Name :
mockcustomsuite2.py
# Copyright (c) 2006 Twisted Matrix Laboratories. See LICENSE for details """ Mock test module that contains a C{testSuite} method. L{runner.TestLoader} should load the tests from the C{testSuite}, not from the C{Foo} C{TestCase}. See L{twisted.trial.test.test_loader.LoaderTest.test_loadModuleWith_testSuite}. """ from twisted.trial import runner, unittest class Foo(unittest.SynchronousTestCase): def test_foo(self): pass def testSuite(): ts = runner.TestSuite() ts.name = "MyCustomSuite" return ts