Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 50c0a3b

Browse filesBrowse files
committed
Add coverage report
1 parent 402016f commit 50c0a3b
Copy full SHA for 50c0a3b

File tree

Expand file treeCollapse file tree

2 files changed

+7
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+7
-2
lines changed

‎.gitignore

Copy file name to clipboardExpand all lines: .gitignore
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
build/
1212
dist/
1313
MySQLdb/release.py
14+
.coverage

‎tox.ini

Copy file name to clipboardExpand all lines: tox.ini
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@
22
envlist = py26, py27, pypy, py33, py34
33

44
[testenv]
5-
commands = py.test
6-
deps = pytest
5+
commands =
6+
py.test --cov {envsitepackagesdir}/MySQLdb
7+
deps =
8+
coverage==3.7.1
9+
pytest
10+
pytest-cov

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.