-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge branch 'devel' for version release"
- Loading branch information
Showing
39 changed files
with
493 additions
and
984 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,10 @@ | ||
*.cfg | ||
*.pyc | ||
*.egg-info | ||
.eggs | ||
MANIFEST | ||
dist/ | ||
build/ | ||
prof/ | ||
.cache/ | ||
.pytest_cache/ | ||
.coverage | ||
.tox |
This file was deleted.
Oops, something went wrong.
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
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,23 @@ | ||
import pytest | ||
|
||
def pytest_addoption(parser): | ||
parser.addoption("--live", action="store_true", | ||
default=False, help="run tests requiring a functional auth and a real hub.") | ||
parser.addoption("--destructive", action="store_true", | ||
default=False, help="run tests that require and modify the state of a real hub.") | ||
|
||
def pytest_collection_modifyitems(config, items): | ||
live = False | ||
destructive = False | ||
if config.getoption("--live"): | ||
live = True | ||
if config.getoption("--destructive"): | ||
return | ||
skip_live = pytest.mark.skip(reason="need --live option to run") | ||
skip_destructive = pytest.mark.skip(reason="need --destructive option to run") | ||
|
||
for item in items: | ||
if "live" in item.keywords and not live: | ||
item.add_marker(skip_live) | ||
if "destructive" in item.keywords and not destructive: | ||
item.add_marker(skip_destructive) |
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 |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.2.15" | ||
__version__ = "0.2.14" |
Oops, something went wrong.