Skip to content
Snippets Groups Projects
Commit 5ccfc1e9 authored by Gilbert L Bernstein's avatar Gilbert L Bernstein
Browse files

Update chapter3-base-tests.md

parent 281a019d
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,27 @@ Make sure you have the expected default values for `HSTEP`, `VSTEP`,
>>> browser.HEIGHT
600
Notes
=====
You might need to modify the `__repr__` method on `Text` and `Tag`
if you factored your project into multiple files: (This is especially
true if you see a mismatched output of the form `<layout.Tag object at ...>`)
```
class Text:
...
def __repr__(self):
return "Text('{}')".format(self.text)
class Tag:
...
def __repr__(self):
return "Tag('{}')".format(self.tag)
```
Testing `lex`
-------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment