-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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 #330396 from Sigmanificient/blockdiag
python312Packages.{blackdiag,seqdiag,actdiag,nwdiag}: drop nose dependency
- Loading branch information
Showing
7 changed files
with
91 additions
and
29 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
22 changes: 22 additions & 0 deletions
22
pkgs/development/python-modules/actdiag/fix_test_generate.patch
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,22 @@ | ||
diff --git a/src/actdiag/tests/test_generate_diagram.py b/src/actdiag/tests/test_generate_diagram.py | ||
index c5ee3d5..a74a151 100644 | ||
--- a/src/actdiag/tests/test_generate_diagram.py | ||
+++ b/src/actdiag/tests/test_generate_diagram.py | ||
@@ -16,16 +16,6 @@ | ||
import os | ||
|
||
from blockdiag.tests.test_generate_diagram import (get_diagram_files, | ||
- testcase_generator) | ||
+ test_generate_with_separate) | ||
|
||
-import actdiag.command | ||
|
||
- | ||
-def test_generate(): | ||
- mainfunc = actdiag.command.main | ||
- basepath = os.path.dirname(__file__) | ||
- files = get_diagram_files(basepath) | ||
- options = [] | ||
- | ||
- for testcase in testcase_generator(basepath, mainfunc, files, options): | ||
- yield testcase |
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
22 changes: 22 additions & 0 deletions
22
pkgs/development/python-modules/nwdiag/fix_test_generate.patch
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,22 @@ | ||
diff --git a/src/nwdiag/tests/test_generate_diagram.py b/src/nwdiag/tests/test_generate_diagram.py | ||
index 2065208..ac9b096 100644 | ||
--- a/src/nwdiag/tests/test_generate_diagram.py | ||
+++ b/src/nwdiag/tests/test_generate_diagram.py | ||
@@ -16,16 +16,4 @@ | ||
import os | ||
|
||
from blockdiag.tests.test_generate_diagram import (get_diagram_files, | ||
- testcase_generator) | ||
- | ||
-import nwdiag.command | ||
- | ||
- | ||
-def test_generate(): | ||
- mainfunc = nwdiag.command.main | ||
- basepath = os.path.dirname(__file__) | ||
- files = get_diagram_files(basepath) | ||
- options = [] | ||
- | ||
- for testcase in testcase_generator(basepath, mainfunc, files, options): | ||
- yield testcase | ||
+ test_generate_with_separate) |
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
25 changes: 25 additions & 0 deletions
25
pkgs/development/python-modules/seqdiag/fix_test_generate.patch
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,25 @@ | ||
diff --git a/src/seqdiag/tests/test_generate_diagram.py b/src/seqdiag/tests/test_generate_diagram.py | ||
index cdd340f..a1dd2d4 100644 | ||
--- a/src/seqdiag/tests/test_generate_diagram.py | ||
+++ b/src/seqdiag/tests/test_generate_diagram.py | ||
@@ -13,19 +13,5 @@ | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
-import os | ||
- | ||
from blockdiag.tests.test_generate_diagram import (get_diagram_files, | ||
- testcase_generator) | ||
- | ||
-import seqdiag.command | ||
- | ||
- | ||
-def test_generate(): | ||
- mainfunc = seqdiag.command.main | ||
- basepath = os.path.dirname(__file__) | ||
- files = get_diagram_files(basepath) | ||
- options = [] | ||
- | ||
- for testcase in testcase_generator(basepath, mainfunc, files, options): | ||
- yield testcase | ||
+ test_generate_with_separate) |