otadump: init at 0.1.2 (#329129)
[NixPkgs.git] / pkgs / development / python-modules / actdiag / fix_test_generate.patch
blob95dbf5887268dbf57591771b061c878087c52986
1 diff --git a/src/actdiag/tests/test_generate_diagram.py b/src/actdiag/tests/test_generate_diagram.py
2 index c5ee3d5..a74a151 100644
3 --- a/src/actdiag/tests/test_generate_diagram.py
4 +++ b/src/actdiag/tests/test_generate_diagram.py
5 @@ -16,16 +16,6 @@
6 import os
8 from blockdiag.tests.test_generate_diagram import (get_diagram_files,
9 - testcase_generator)
10 + test_generate_with_separate)
12 -import actdiag.command
15 -def test_generate():
16 - mainfunc = actdiag.command.main
17 - basepath = os.path.dirname(__file__)
18 - files = get_diagram_files(basepath)
19 - options = []
21 - for testcase in testcase_generator(basepath, mainfunc, files, options):
22 - yield testcase