Skip to content
Snippets Groups Projects
Commit 9c0192b9 authored by nimrod's avatar nimrod
Browse files

- Misunderstood setup.py aliases, removed test alias.

- Renamed test file and function because otherwise test detection fails.
- Set py.test to verbose.
- Moved flake8 settings from tox.ini to setup.cfg (in case of moving away from
  tox).
parent 4b6ae68f
No related branches found
No related tags found
No related merge requests found
[bdist_wheel]
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal=1
[flake8]
ignore=F403
exclude = .tox,*.egg,build,data,unshare/constants.py
import unshare
def import_assestions():
def test_import_assestions():
for macro in 'CLONE_NEWUTS', 'MS_SHARED':
assert macro in dir(unshare)
for function in 'clone', 'pivot_root':
......
[flake8]
ignore=F403
exclude = .tox,*.egg,build,data,unshare/constants.py
[tox]
envlist = py{2,3}
......@@ -18,4 +14,4 @@ commands =
check-manifest --ignore tox.ini,tests*
python setup.py check -m -r -s
flake8 .
py.test
py.test --verbose
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment