-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from kooba/test-fixtures-package
Moved modules to a package.
- Loading branch information
Showing
6 changed files
with
26 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
test: flake8 pylint pytest | ||
|
||
flake8: | ||
flake8 nameko_sqlalchemy.py test | ||
flake8 nameko_sqlalchemy test | ||
|
||
pylint: | ||
pylint nameko_sqlalchemy -E | ||
|
||
pytest: | ||
coverage run --concurrency=eventlet --source nameko_sqlalchemy.py --branch -m pytest test | ||
coverage run --concurrency=eventlet --source nameko_sqlalchemy --branch -m pytest test | ||
coverage report --show-missing --fail-under=100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from nameko_sqlalchemy.database_session import ( # noqa: F401 | ||
DatabaseSession, DB_URIS_KEY, Session | ||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
author='onefinestay', | ||
author_email='[email protected]', | ||
url='http://github.com/onefinestay/nameko-sqlalchemy', | ||
py_modules=['nameko_sqlalchemy'], | ||
packages=['nameko_sqlalchemy'], | ||
install_requires=[ | ||
"nameko>=2.0.0", | ||
"sqlalchemy" | ||
|
@@ -23,7 +23,7 @@ | |
}, | ||
entry_points={ | ||
'pytest11': [ | ||
'pytest_fixtures=pytest_fixtures' | ||
'nameko_sqlalchemy=nameko_sqlalchemy.pytest_fixtures' | ||
] | ||
}, | ||
zip_safe=True, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters