blob: 368351a333eb960fe2a2ebd56a883697a7e0754d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
|
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html>
<head>
<title>testtools.matchers._basic : API documentation</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<link href="bootstrap.min.css" type="text/css" rel="stylesheet" />
<link href="apidocs.css" type="text/css" rel="stylesheet" />
</head>
<body>
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<a href="index.html" class="navbar-brand">
<a href="https://github.com/testing-cabal/testtools">testtools</a> API Documentation
</a>
</div>
</div>
</nav>
<div class="container">
<div class="page-header">
<h1 class="module private"><code>testtools.matchers._basic</code> <small>module documentation</small></h1>
<span id="partOf">
Part of <code><a href="testtools.html" class="code">testtools</a>.<a href="testtools.matchers.html" class="code">matchers</a></code>
</span>
</div>
<div class="extrasDocstring">
</div>
<div class="moduleDocstring">
<div class="undocumented">No module docstring</div>
</div>
<div id="splitTables">
<table class="children sortable" id="id54">
<tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.Equals.html" class="code">Equals</a></td>
<td><span>Matches if the items are equal.</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.NotEquals.html" class="code">NotEquals</a></td>
<td><span>Matches if the items are not equal.</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.Is.html" class="code">Is</a></td>
<td><span>Matches if the items are identical.</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.LessThan.html" class="code">LessThan</a></td>
<td><span>Matches if the item is less than the matchers reference object.</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.GreaterThan.html" class="code">GreaterThan</a></td>
<td><span>Matches if the item is greater than the matchers reference object.</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.SameMembers.html" class="code">SameMembers</a></td>
<td><span>Matches if two iterators have the same members.</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.DoesNotStartWith.html" class="code">DoesNotStartWith</a></td>
<td><span class="undocumented">No class docstring; 1/2 methods documented</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.StartsWith.html" class="code">StartsWith</a></td>
<td><span>Checks whether one string starts with another.</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.DoesNotEndWith.html" class="code">DoesNotEndWith</a></td>
<td><span class="undocumented">No class docstring; 1/2 methods documented</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.EndsWith.html" class="code">EndsWith</a></td>
<td><span>Checks whether one string ends with another.</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.IsInstance.html" class="code">IsInstance</a></td>
<td><span>Matcher that wraps isinstance.</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.NotAnInstance.html" class="code">NotAnInstance</a></td>
<td><span class="undocumented">No class docstring; 1/2 methods documented</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.DoesNotContain.html" class="code">DoesNotContain</a></td>
<td><span class="undocumented">No class docstring; 1/2 methods documented</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.Contains.html" class="code">Contains</a></td>
<td><span>Checks whether something is contained in another thing.</span></td>
</tr><tr class="class">
<td>Class</td>
<td><a href="testtools.matchers._basic.MatchesRegex.html" class="code">MatchesRegex</a></td>
<td><span>Matches if the matchee is matched by a regular expression.</span></td>
</tr><tr class="function">
<td>Function</td>
<td><a href="testtools.matchers._basic.html#has_len" class="code">has_len</a></td>
<td><span class="undocumented">Undocumented</span></td>
</tr><tr class="function private">
<td>Function</td>
<td><a href="testtools.matchers._basic.html#_format" class="code">_format</a></td>
<td><span>Blocks of text with newlines are formatted as triple-quote strings. Everything else is pretty-printed.</span></td>
</tr><tr class="class private">
<td>Class</td>
<td><a href="testtools.matchers._basic._BinaryComparison.html" class="code">_BinaryComparison</a></td>
<td><span>Matcher that compares an object to another object.</span></td>
</tr><tr class="class private">
<td>Class</td>
<td><a href="testtools.matchers._basic._BinaryMismatch.html" class="code">_BinaryMismatch</a></td>
<td><span>Two things did not match.</span></td>
</tr>
</table>
</div>
<div id="childList">
<div class="function">
<a name="testtools.matchers._basic._format">
</a>
<a name="_format">
</a>
<div class="functionHeader">
def
_format(thing):
</div>
<div class="docstring functionBody">
<div>Blocks of text with newlines are formatted as triple-quote
strings. Everything else is pretty-printed.<table class="fieldTable"></table></div>
</div>
</div><div class="function">
<a name="testtools.matchers._basic.has_len">
</a>
<a name="has_len">
</a>
<div class="functionHeader">
def
has_len(x, y):
</div>
<div class="docstring functionBody">
<div class="undocumented">Undocumented</div>
</div>
</div>
</div>
<address>
<a href="index.html">API Documentation</a> for <a href="https://github.com/testing-cabal/testtools">testtools</a>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at 2015-07-01 16:11:28.
</address>
</div>
</body>
</html>
|