Skip to content

Commit

Permalink
add magic namber for mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
jettify committed Sep 29, 2015
1 parent 1a78b1e commit 737a8f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ flake:
pep8 aioodbc tests
pyflakes aioodbc

test:
test: flake
py.test -s $(FLAGS) ./tests/

vtest:
py.test -s -v $(FLAGS) ./tests/

cov cover coverage:
cov cover coverage: flake
py.test -s -v --cov-report term --cov-report html --cov aioodbc ./tests
@echo "open file://`pwd`/htmlcov/index.html"
clean:
Expand Down
3 changes: 2 additions & 1 deletion tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def test_getinfo(conn):
data = yield from conn.getinfo(pyodbc.SQL_CREATE_TABLE)
pg = 14057
sqlite = 1793
assert data in (pg, sqlite)
mysql = 3093
assert data in (pg, sqlite, mysql)


@pytest.mark.parametrize("dsn", pytest.sqlite)
Expand Down

0 comments on commit 737a8f4

Please sign in to comment.