Mercurial > hg > WSGraph
comparison tests/doctest.txt @ 32:943a4b7097af
fix tests
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Thu, 13 Dec 2012 18:59:32 -0800 |
| parents | 2fe3933f8eca |
| children | 16673636dcb6 |
comparison
equal
deleted
inserted
replaced
| 31:5f14a4183bf2 | 32:943a4b7097af |
|---|---|
| 32 | 32 |
| 33 Let's add stuff to it: | 33 Let's add stuff to it: |
| 34 | 34 |
| 35 >>> nodeA = {'hello': "is it me you're looking for?"} | 35 >>> nodeA = {'hello': "is it me you're looking for?"} |
| 36 >>> graph['A'] = nodeA | 36 >>> graph['A'] = nodeA |
| 37 >>> graph.edge('A', 'B', foo='bar') | 37 >>> graph.edge('A', 'B', dict(foo='bar')) |
| 38 >>> 'A' in graph | 38 >>> 'A' in graph |
| 39 True | 39 True |
