-
Notifications
You must be signed in to change notification settings - Fork 9
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 #89 from LUMC/release_1.2.2
Release 1.2.2
- Loading branch information
Showing
11 changed files
with
109 additions
and
26 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
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
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,3 @@ | ||
[pytest] | ||
markers = | ||
functional: This marks functional tests for pytest-workflow. These are the tests for pytest-workflow that are executed using different workflow engines. |
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 @@ | ||
[metadata] | ||
license_file=LICENSE | ||
|
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 |
---|---|---|
|
@@ -21,15 +21,15 @@ | |
|
||
setup( | ||
name="pytest-workflow", | ||
version="1.2.1", | ||
version="1.2.2", | ||
description="A pytest plugin for configuring workflow/pipeline tests " | ||
"using YAML files", | ||
author="Leiden University Medical Center", | ||
author_email="[email protected]", # A placeholder for now | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type="text/x-rst", | ||
license="AGPL-3.0-or-later", | ||
keywords="pytest workflow pipeline yaml yml", | ||
keywords="pytest workflow pipeline yaml yml wdl cromwell snakemake", | ||
zip_safe=False, | ||
packages=find_packages('src'), | ||
package_dir={'': 'src'}, | ||
|
@@ -43,6 +43,7 @@ | |
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Development Status :: 5 - Production/Stable", | ||
"License :: OSI Approved :: " | ||
"GNU Affero General Public License v3 or later (AGPLv3+)", | ||
|
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,32 @@ | ||
# Copyright (C) 2018 Leiden University Medical Center | ||
# This file is part of pytest-workflow | ||
# | ||
# pytest-workflow is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# pytest-workflow is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with pytest-workflow. If not, see <https://www.gnu.org/licenses/ | ||
|
||
from .test_success_messages import SIMPLE_ECHO | ||
|
||
|
||
def test_same_name_different_files(testdir): | ||
testdir.makefile(".yml", test_a=SIMPLE_ECHO) | ||
testdir.makefile(".yml", test_b=SIMPLE_ECHO) | ||
result = testdir.runpytest() | ||
assert result.ret != 0 | ||
assert ("Workflow name 'simple echo' used more than once" | ||
in result.stdout.str()) | ||
conflicting_message = ( | ||
"Conflicting tests: {0}, {1}.".format( | ||
"test_b.yml::" + "simple echo", | ||
"test_a.yml::" + "simple echo") | ||
) | ||
assert conflicting_message in result.stdout.str() |
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