File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,22 +145,14 @@ Examples
145145Running the Unittests
146146~~~~~~~~~~~~~~~~~~~~~
147147
148- To run the tests as they would be run by Travis CI::
149-
150- CI=true ./unittests.py
151-
152- To test functions that require proper authentication::
153-
154- ./unittests.py
155-
156- The latter will prompt you for your username and password, e.g.::
157-
158- [ sigma: ~/sandbox/github3.py ] ./unittests.py
159- Enter GitHub username: sigmavirus24
160- Password for sigmavirus24:
161-
162- This will generally fail until we can generalize the authenticated tests via a
163- config file.
148+ ::
149+
150+ mkdir -p /path/to/virtualenv/github3.py
151+ cd /path/to/virtualenv/github3.py
152+ virtualenv .
153+ cd /path/to/github3.py_repo/requirements.txt
154+ pip install -r requirements.txt
155+ make tests
164156
165157
166158Contact
You can’t perform that action at this time.
0 commit comments