Skip to content

Commit 6afbe06

Browse files
committed
Update the docs
1 parent 5e3a43f commit 6afbe06

1 file changed

Lines changed: 8 additions & 16 deletions

File tree

docs/index.rst

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -145,22 +145,14 @@ Examples
145145
Running 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

166158
Contact

0 commit comments

Comments
 (0)