mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
26 lines
887 B
Diff
26 lines
887 B
Diff
|
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)
|