Skip to content

.gitignore, testsuite improvement & test fail fix #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 40 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,41 @@
*.pyc
build
dist
*.py[cod]

# C extensions
*.so

# Packages
*.egg
*.egg-info
.settings
*plugin.xml
.idea
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox
nosetests.xml

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# Sphinx documentation
doc/build/**

*.log
2 changes: 1 addition & 1 deletion corepost/ext/sql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'''

try:
import txZMQ
import txzmq
except ImportError as ex:
print "You need to have txZMQ and ZeroMQ installed in order to use multicore support in Corepost"
raise ex
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[nosetests]
with-freshen = 1
verbosity = 2
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ def run_rest_app():
tests_require=[
'httplib2>=0.7.1',
'freshen>=0.2',
'txZMQ'
],
test_suite='corepost.test',
zip_safe = True
)
3 changes: 1 addition & 2 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
nosetests --with-freshen -v

python setup.py nosetests