GIF89; GIF89; %PDF- %PDF-
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import sys
sys.path.append('..')
from hamcrest import *
import unittest
class ExampleWithAssertThat(unittest.TestCase):
def testUsingAssertThat(self):
assert_that('xx', is_('xx'))
assert_that('yy', is_not('xx'))
assert_that('i like cheese', contains_string('cheese'))
def testCanAlsoSupplyDescriptiveReason(self):
assert_that('xx', is_('xx'), 'description')
def testCanAlsoAssertPlainBooleans(self):
assert_that(True, 'This had better not fail')
if __name__ == '__main__':
unittest.main()
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| CustomDateMatcher.py | File | 1.58 KB | 0644 |
|
| ExampleWithAssertThat.py | File | 552 B | 0644 |
|