Created
June 28, 2024 06:58
-
-
Save micwoj92/564560e59eabe68f691ac8d646988fe0 to your computer and use it in GitHub Desktop.
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
============================= test session starts ============================== | |
platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 | |
rootdir: /build/blockdiag/src/blockdiag-3.1.0 | |
plugins: typeguard-4.3.0 | |
collected 714 items | |
_build/lib/blockdiag/tests/rst/test_base_directives.py ........ [ 1%] | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py FFF.F.FFFFFF [ 2%] | |
.FFFFFFFFFFFFFFF...FFFFFFFFFFFFF.F [ 7%] | |
_build/lib/blockdiag/tests/test_boot_params.py FFFF......F......FFFFFF.F [ 11%] | |
FF. [ 11%] | |
_build/lib/blockdiag/tests/test_builder.py ......F............... [ 14%] | |
_build/lib/blockdiag/tests/test_builder_edge.py F.................. [ 17%] | |
_build/lib/blockdiag/tests/test_builder_errors.py .................... [ 20%] | |
_build/lib/blockdiag/tests/test_builder_group.py ....................... [ 23%] | |
........... [ 24%] | |
_build/lib/blockdiag/tests/test_builder_node.py .........FFFF... [ 27%] | |
_build/lib/blockdiag/tests/test_builder_separate.py .. [ 27%] | |
_build/lib/blockdiag/tests/test_command.py FF [ 27%] | |
_build/lib/blockdiag/tests/test_generate_diagram.py F...F...F...F...F... [ 30%] | |
F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F... [ 40%] | |
F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F... [ 50%] | |
F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F... [ 60%] | |
F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F... [ 70%] | |
F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F... [ 80%] | |
F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F...F... [ 90%] | |
F...F...F...F...F...F... [ 94%] | |
_build/lib/blockdiag/tests/test_imagedraw_textfolder.py ... [ 94%] | |
_build/lib/blockdiag/tests/test_imagedraw_utils.py ..... [ 95%] | |
_build/lib/blockdiag/tests/test_parser.py ........ [ 96%] | |
_build/lib/blockdiag/tests/test_utils.py ... [ 96%] | |
_build/lib/blockdiag/tests/test_utils_fontmap.py ...................... [100%] | |
=================================== FAILURES =================================== | |
_____________________ TestRstDirectives.test_align_option1 _____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_align_option1> | |
def test_align_option1(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :align: left\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:298: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpcpwbvdzu/blockdiag-7018f4d6c743ba9390f9cf0f84bd2ee2d015cac4.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea75724a0c0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_____________________ TestRstDirectives.test_align_option2 _____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_align_option2> | |
def test_align_option2(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :align: center\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:310: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpfl4eg1qu/blockdiag-cc2f76cd33632b086a8f135ed44723d51cc336d7.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756cd1790>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_____________________ TestRstDirectives.test_align_option3 _____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_align_option3> | |
def test_align_option3(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :align: right\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:322: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpfv7ny1mk/blockdiag-694eebe6823b3e376a7eea6532a0bf3c74738123.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea7593f3d10>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
______________________ TestRstDirectives.test_alt_option _______________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_alt_option> | |
def test_alt_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :alt: hello world\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:286: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpbnunw3r0/blockdiag-5fa6474e943ca5545feb6c64d006ddc728b021c7.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756cd98e0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
____________________ TestRstDirectives.test_call_with_brace ____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_call_with_brace> | |
def test_call_with_brace(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
"\n" | |
" {" | |
" A -> B" | |
" }") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:265: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmp_4o6qva1/blockdiag-aaafb33e63d314b2e07033df9589d727b923dec2.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d54050>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
__________________ TestRstDirectives.test_call_without_braces __________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_call_without_braces> | |
def test_call_without_braces(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:275: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpqxfxhx7k/blockdiag-bee596d1c8658b0a803259bedcacd7ab98d4e82d.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d542c0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
____________________ TestRstDirectives.test_caption_option _____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_caption_option> | |
def test_caption_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :caption: hello world\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:349: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpxp2emdvl/blockdiag-b8aa0812f8a31e2d45800bb3634b821b305d4715.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d55340>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
____________________ TestRstDirectives.test_caption_option2 ____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_caption_option2> | |
def test_caption_option2(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :caption: **hello** *world*\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:365: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpbkxeezpg/blockdiag-d03c982f6413c538fe71353b6fda7a63421b97ed.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d55490>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
____________ TestRstDirectives.test_caption_option_and_align_option ____________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_caption_option_and_align_option> | |
def test_caption_option_and_align_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :align: left\n" | |
" :caption: hello world\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:386: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpa248e6n8/blockdiag-46c2941381d9a85dc82afe2008a6012b67f6923c.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea75724bb60>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_____________________ TestRstDirectives.test_class_option ______________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_class_option> | |
def test_class_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :class: bar%\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:466: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpdslv8kby/blockdiag-be0410c52e242aa1bd8abcd20c6e48ceebe19195.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756cc0b90>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
___________________ TestRstDirectives.test_desctable_option ____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_desctable_option> | |
def test_desctable_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :desctable:\n" | |
"\n" | |
" A [description = foo]" | |
" B [description = bar]" | |
" group { A }") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:516: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmp1dq_7bo_/blockdiag-4cd45efb8b9b5230c1e7262d9c748fcadc072fc3.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756c8a2d0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
______________ TestRstDirectives.test_desctable_option_for_edges _______________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_desctable_option_for_edges> | |
def test_desctable_option_for_edges(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :desctable:\n" | |
"\n" | |
" A -> B [description = \"foo\"]" | |
" C -> D [description = \"bar\"]" | |
" C [label = \"label_C\"]" | |
" D [label = \"label_D\"]") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:764: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmplkxg3j50/blockdiag-df202f388721e5d7be707066f43caa08a030c5f7.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d55910>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_________ TestRstDirectives.test_desctable_option_for_nodes_and_edges __________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_desctable_option_for_nodes_and_edges> | |
def test_desctable_option_for_nodes_and_edges(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :desctable:\n" | |
"\n" | |
" A -> B [description = \"foo\"]" | |
" C -> D [description = \"bar\"]" | |
" C [label = \"label_C\", description = foo]" | |
" D [label = \"label_D\"]") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:807: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpipbk42ew/blockdiag-8f69546cb8ed157314b4300e671626af71d197de.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea75724b8c0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
___________ TestRstDirectives.test_desctable_option_using_node_group ___________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_desctable_option_using_node_group> | |
def test_desctable_option_using_node_group(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :desctable:\n" | |
"\n" | |
" A [description = foo]" | |
" B [description = bar]" | |
" group { A }") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:564: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpb8o3z3li/blockdiag-8ef59f99295f55ebf2a694a512c9083928b9a7bf.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d55e50>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
____________ TestRstDirectives.test_desctable_option_with_numbered _____________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_desctable_option_with_numbered> | |
def test_desctable_option_with_numbered(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :desctable:\n" | |
"\n" | |
" A [numbered = 2]" | |
" B [numbered = 1]") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:682: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpz1itqn_5/blockdiag-768666dee06b9dd00556ecaf8ebf333c911993cb.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756cc39e0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
____ TestRstDirectives.test_desctable_option_with_numbered_and_description _____ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_desctable_option_with_numbered_and_description> | |
def test_desctable_option_with_numbered_and_description(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :desctable:\n" | |
"\n" | |
" A [description = foo, numbered = 2]" | |
" B [description = bar, numbered = 1]") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:719: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpe73eoesv/blockdiag-09ac154119d246165a318891243c1cba953caf05.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d537a0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
__________ TestRstDirectives.test_desctable_option_with_rest_markups ___________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_desctable_option_with_rest_markups> | |
def test_desctable_option_with_rest_markups(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :desctable:\n" | |
"\n" | |
" A [description = \"foo *bar* **baz**\"]" | |
" B [description = \"**foo** *bar* baz\"]") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:624: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmphuwb3_38/blockdiag-57dee590d73d3cb25f83f8bbf65e32e8bcb4849e.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756c89220>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_________ TestRstDirectives.test_desctable_option_without_description __________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_desctable_option_without_description> | |
def test_desctable_option_without_description(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :desctable:\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:552: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpj99xqls9/blockdiag-a074802b5eb24c85aea4286da3db3c5149cc0df2.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d57260>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
____________________ TestRstDirectives.test_figclass_option ____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_figclass_option> | |
def test_figclass_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :caption: hello world\n" | |
" :figclass: baz\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:503: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpi9z0ejvw/blockdiag-18005f74f3c750b7210bdc6526c040dc8bd77e70.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d32990>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
___________________ TestRstDirectives.test_figwidth_option1 ____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_figwidth_option1> | |
def test_figwidth_option1(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :caption: hello world\n" | |
" :figwidth: 100\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:479: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmppzcbnr02/blockdiag-0002d01fefaadf7816d88f791583259dc97a906b.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d2be30>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
___________________ TestRstDirectives.test_figwidth_option2 ____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_figwidth_option2> | |
def test_figwidth_option2(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :caption: hello world\n" | |
" :figwidth: image\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:491: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmp0upkhmok/blockdiag-9093efd40e58b30ab8d00a8f75685c3fb38b1a35.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d5bc20>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_____________________ TestRstDirectives.test_height_option _____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_height_option> | |
def test_height_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :height: 100\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:430: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmp2qvvaozc/blockdiag-6d6c11b4c84e63a1fef84ba33cf043512a18da2c.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d566f0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
____________________ TestRstDirectives.test_maxwidth_option ____________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_maxwidth_option> | |
@capture_stderr | |
def test_maxwidth_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :maxwidth: 100\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:405: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmplzk539r6/blockdiag-b59d8929d7fe80dfce9f9761c1c2d7a4627c4a08.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d17e00>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
<string>:1: (WARNING/2) :maxwidth: option is deprecated. Use :width: option. | |
______________________ TestRstDirectives.test_name_option ______________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_name_option> | |
def test_name_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :name: foo%\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:454: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpwm13shhr/blockdiag-4e141b0fea2e49ba1d590db4b4008b7edddefd80.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d1c380>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_____________________ TestRstDirectives.test_scale_option ______________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_scale_option> | |
def test_scale_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :scale: 50%\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:442: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmp_q9mlmpv/blockdiag-a2b6a521140b5ae0891b3d2a4b421e63f21c3c30.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d1cb60>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_______________ TestRstDirectives.test_setup_inline_svg_is_false _______________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_inline_svg_is_false> | |
def test_setup_inline_svg_is_false(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir, inline_svg=False) | |
text = (".. blockdiag::\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:166: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmp52cm6nns/blockdiag-2b70a5bbb156eae13aab0907df2dbef85ac35ccf.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756ce7bf0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_______________ TestRstDirectives.test_setup_inline_svg_is_true ________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_inline_svg_is_true> | |
def test_setup_inline_svg_is_true(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir, inline_svg=True) | |
text = (".. blockdiag::\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:152: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:239: in node2image | |
return self.node2image_inline_svg(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:261: in node2image_inline_svg | |
drawer = node.to_drawer('SVG', None, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg', filename = None | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d1b050>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
______ TestRstDirectives.test_setup_inline_svg_is_true_and_height_option1 ______ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_inline_svg_is_true_and_height_option1> | |
def test_setup_inline_svg_is_true_and_height_option1(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir, | |
nodoctype=True, noviewbox=True, inline_svg=True) | |
text = (".. blockdiag::\n" | |
" :height: 100\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:225: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:239: in node2image | |
return self.node2image_inline_svg(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:261: in node2image_inline_svg | |
drawer = node.to_drawer('SVG', None, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg', filename = None | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea7569c82f0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
______ TestRstDirectives.test_setup_inline_svg_is_true_and_height_option2 ______ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_inline_svg_is_true_and_height_option2> | |
def test_setup_inline_svg_is_true_and_height_option2(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir, | |
nodoctype=True, noviewbox=True, inline_svg=True) | |
text = (".. blockdiag::\n" | |
" :height: 10000\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:238: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:239: in node2image | |
return self.node2image_inline_svg(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:261: in node2image_inline_svg | |
drawer = node.to_drawer('SVG', None, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg', filename = None | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756ce5250>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_ TestRstDirectives.test_setup_inline_svg_is_true_and_width_and_height_option __ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_inline_svg_is_true_and_width_and_height_option> | |
def test_setup_inline_svg_is_true_and_width_and_height_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir, | |
nodoctype=True, noviewbox=True, inline_svg=True) | |
text = (".. blockdiag::\n" | |
" :width: 200\n" | |
" :height: 100\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:252: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:239: in node2image | |
return self.node2image_inline_svg(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:261: in node2image_inline_svg | |
drawer = node.to_drawer('SVG', None, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg', filename = None | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d5bad0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
______ TestRstDirectives.test_setup_inline_svg_is_true_and_width_option1 _______ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_inline_svg_is_true_and_width_option1> | |
def test_setup_inline_svg_is_true_and_width_option1(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir, | |
nodoctype=True, noviewbox=True, inline_svg=True) | |
text = (".. blockdiag::\n" | |
" :width: 100\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:199: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:239: in node2image | |
return self.node2image_inline_svg(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:261: in node2image_inline_svg | |
drawer = node.to_drawer('SVG', None, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg', filename = None | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea7572851f0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
______ TestRstDirectives.test_setup_inline_svg_is_true_and_width_option2 _______ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_inline_svg_is_true_and_width_option2> | |
def test_setup_inline_svg_is_true_and_width_option2(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir, | |
nodoctype=True, noviewbox=True, inline_svg=True) | |
text = (".. blockdiag::\n" | |
" :width: 10000\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:212: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:239: in node2image | |
return self.node2image_inline_svg(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:261: in node2image_inline_svg | |
drawer = node.to_drawer('SVG', None, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg', filename = None | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea757225ee0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_____ TestRstDirectives.test_setup_inline_svg_is_true_but_format_isnt_svg ______ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_inline_svg_is_true_but_format_isnt_svg> | |
@with_pil | |
def test_setup_inline_svg_is_true_but_format_isnt_svg(self): | |
directives.setup(format='PNG', outputdir=self.tmpdir, inline_svg=True) | |
text = (".. blockdiag::\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:177: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'png' | |
filename = '/tmp/tmpfj2c9f6i/blockdiag-0e4ce52553cd817771e950324b9e67f08cbcfae8.png' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d0ce00>, 'fontpath': None, ...} | |
msg = 'failed to load png image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load png image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_______ TestRstDirectives.test_setup_inline_svg_is_true_with_multibytes ________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_inline_svg_is_true_with_multibytes> | |
def test_setup_inline_svg_is_true_with_multibytes(self): | |
# multibyte characters aren't support for default font, set a own font | |
directives.setup(format='SVG', outputdir=self.tmpdir, | |
fontpath=get_fontpath(TESTDIR)) | |
text = (".. blockdiag::\n" | |
"\n" | |
" あ -> い") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:188: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpwup2drkc/blockdiag-4952235834a9757be9198ef66da6c2977f69b3ca.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea757285dc0>, 'fontpath': '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/VLGothic/VL-Gothic-Regular.ttf', ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_______________ TestRstDirectives.test_setup_nodoctype_is_false ________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_nodoctype_is_false> | |
def test_setup_nodoctype_is_false(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir, nodoctype=False) | |
text = (".. blockdiag::\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:118: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpfhalqvl6/blockdiag-299418735752d146f33888c23da0479a84f527fc.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d14560>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
________________ TestRstDirectives.test_setup_nodoctype_is_true ________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_nodoctype_is_true> | |
def test_setup_nodoctype_is_true(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir, nodoctype=True) | |
text = (".. blockdiag::\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:107: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmp_om9f1pp/blockdiag-200dd86f0c08c94e668b6c4b140be5ab8e4712d4.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756c8b080>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_______________ TestRstDirectives.test_setup_noviewbox_is_false ________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_noviewbox_is_false> | |
def test_setup_noviewbox_is_false(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir, noviewbox=False) | |
text = (".. blockdiag::\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:141: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpwcz7sn3l/blockdiag-f4e501448c4f0b24b9435774072e4917f371b0fe.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea757287e30>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
________________ TestRstDirectives.test_setup_noviewbox_is_true ________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_setup_noviewbox_is_true> | |
def test_setup_noviewbox_is_true(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir, noviewbox=True) | |
text = (".. blockdiag::\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:130: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpyxm5g_ik/blockdiag-4963405f0532b45e9be03bd1734e65d4a5f20597.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756c896a0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
_____________________ TestRstDirectives.test_width_option ______________________ | |
self = <blockdiag.tests.rst.test_blockdiag_directives.TestRstDirectives testMethod=test_width_option> | |
def test_width_option(self): | |
directives.setup(format='SVG', outputdir=self.tmpdir) | |
text = (".. blockdiag::\n" | |
" :width: 100\n" | |
"\n" | |
" A -> B") | |
> doctree = publish_doctree(text) | |
_build/lib/blockdiag/tests/rst/test_blockdiag_directives.py:418: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/usr/lib/python3.12/site-packages/docutils/core.py:524: in publish_doctree | |
_output, publisher = publish_programmatically( | |
/usr/lib/python3.12/site-packages/docutils/core.py:722: in publish_programmatically | |
output = publisher.publish(enable_exit_status=enable_exit_status) | |
/usr/lib/python3.12/site-packages/docutils/core.py:234: in publish | |
self.document = self.reader.read(self.source, self.parser, | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:70: in read | |
self.parse() | |
/usr/lib/python3.12/site-packages/docutils/readers/__init__.py:76: in parse | |
self.parser.parse(self.input, document) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/__init__.py:184: in parse | |
self.statemachine.run(inputlines, document, inliner=self.inliner) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:169: in run | |
results = StateMachineWS.run(self, input_lines, input_offset, | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:233: in run | |
context, next_state, result = self.check_line( | |
/usr/lib/python3.12/site-packages/docutils/statemachine.py:445: in check_line | |
return method(match, context, next_state) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2357: in explicit_markup | |
nodelist, blank_finish = self.explicit_construct(match) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2369: in explicit_construct | |
return method(self, expmatch) | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2106: in directive | |
return self.run_directive( | |
/usr/lib/python3.12/site-packages/docutils/parsers/rst/states.py:2156: in run_directive | |
result = directive_instance.run() | |
_build/lib/blockdiag/utils/rst/directives.py:54: in decorator | |
return fn(*args) | |
_build/lib/blockdiag/utils/rst/directives.py:178: in run | |
results[0] = self.node2image(node, diagram) | |
_build/lib/blockdiag/utils/rst/directives.py:244: in node2image | |
drawer = node.to_drawer(_format, filename, fontmap, | |
_build/lib/blockdiag/utils/rst/nodes.py:42: in to_drawer | |
return self.processor.drawer.DiagramDraw(image_format, diagram, | |
_build/lib/blockdiag/drawer.py:40: in __init__ | |
self.drawer = imagedraw.create(self.format, self.filename, | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg' | |
filename = '/tmp/tmpbovh7lv4/blockdiag-1213e81897f39af94c6d0d3d8cba101ab2fd17cb.svg' | |
kwargs = {'antialias': False, 'filters': ['linejump'], 'fontmap': <blockdiag.utils.fontmap.FontMap object at 0x6ea756d30ad0>, 'fontpath': None, ...} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
______________________ TestBootParams.test_config_option _______________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d54530> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'png', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load png image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load png image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_config_option> | |
def test_config_option(self): | |
try: | |
tmp = tempfile.mkstemp() | |
> self.parser.parse(['-c', tmp[1], 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:92: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d54530> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: PNG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
__________________ TestBootParams.test_config_option_fontpath __________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756c88260> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'png', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load png image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load png image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_config_option_fontpath> | |
def test_config_option_fontpath(self): | |
try: | |
tmp = tempfile.mkstemp() | |
config = "[blockdiag]\nfontpath = /path/to/font\n" | |
io.open(tmp[0], 'wt', encoding='utf-8-sig').write(config) | |
> options = self.parser.parse(['-c', tmp[1], 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:127: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756c88260> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: PNG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
__________________ TestBootParams.test_config_option_with_bom __________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d543e0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'png', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load png image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load png image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_config_option_with_bom> | |
def test_config_option_with_bom(self): | |
try: | |
tmp = tempfile.mkstemp() | |
fp = io.open(tmp[0], 'wt', encoding='utf-8-sig') | |
fp.write("[blockdiag]\n") | |
fp.close() | |
> self.parser.parse(['-c', tmp[1], 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:104: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d543e0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: PNG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
_________________ TestBootParams.test_exist_font_config_option _________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d1c500> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'png', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load png image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load png image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_exist_font_config_option> | |
def test_exist_font_config_option(self): | |
try: | |
fd, path = tempfile.mkstemp() | |
os.close(fd) | |
> options = self.parser.parse(['-f', path, 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:137: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d1c500> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: PNG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
______________________ TestBootParams.test_no_size_option ______________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756ce4e00> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'png', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load png image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load png image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_no_size_option> | |
def test_no_size_option(self): | |
> options = self.parser.parse(['input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:158: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756ce4e00> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: PNG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
________________ TestBootParams.test_png_notransparency_option _________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756ce6c90> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'png', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load png image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load png image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_png_notransparency_option> | |
def test_png_notransparency_option(self): | |
> self.parser.parse(['-Tpng', '--no-transparency', 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:83: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756ce6c90> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: PNG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
___________________ TestBootParams.test_separate_option_pdf ____________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d59d30> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'pdf', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load pdf image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load pdf image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_separate_option_pdf> | |
@with_pdf | |
def test_separate_option_pdf(self): | |
> self.parser.parse(['-Tpdf', '--separate', 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:65: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d59d30> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: PDF | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
___________________ TestBootParams.test_separate_option_png ____________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756c884d0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'png', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load png image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load png image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_separate_option_png> | |
def test_separate_option_png(self): | |
> self.parser.parse(['-Tpng', '--separate', 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:61: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756c884d0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: PNG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
___________________ TestBootParams.test_separate_option_svg ____________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756ce56d0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_separate_option_svg> | |
def test_separate_option_svg(self): | |
> self.parser.parse(['-Tsvg', '--separate', 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:58: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756ce56d0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: SVG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
_______________________ TestBootParams.test_size_option ________________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d30da0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'png', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load png image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load png image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_size_option> | |
def test_size_option(self): | |
> options = self.parser.parse(['--size', '480x360', 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:162: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d30da0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: PNG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
___________________ TestBootParams.test_svg_nodoctype_option ___________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d33350> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_svg_nodoctype_option> | |
def test_svg_nodoctype_option(self): | |
> self.parser.parse(['-Tsvg', '--nodoctype', 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:68: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d33350> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: SVG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
_____________________ TestBootParams.test_type_option_pdf ______________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d31fa0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'pdf', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load pdf image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load pdf image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_type_option_pdf> | |
@with_pdf | |
def test_type_option_pdf(self): | |
> options = self.parser.parse(['-Tpdf', 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:50: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d31fa0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: PDF | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
_____________________ TestBootParams.test_type_option_png ______________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d407d0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'png', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load png image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load png image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_type_option_png> | |
def test_type_option_png(self): | |
> options = self.parser.parse(['-Tpng', 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:45: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756d407d0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: PNG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
_____________________ TestBootParams.test_type_option_svg ______________________ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756ce4aa0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
> imagedraw.create(self.options.type, None, debug=self.options.debug) | |
_build/lib/blockdiag/utils/bootstrap.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_format = 'svg', filename = None, kwargs = {'debug': None} | |
msg = 'failed to load svg image driver' | |
def create(_format, filename, **kwargs): | |
if len(drawers) == 0: | |
init_imagedrawers(debug=kwargs.get('debug')) | |
_format = _format.lower() | |
if _format in drawers: | |
drawer = drawers[_format](filename, **kwargs) | |
else: | |
msg = 'failed to load %s image driver' % _format | |
> raise RuntimeError(msg) | |
E RuntimeError: failed to load svg image driver | |
_build/lib/blockdiag/imagedraw/__init__.py:47: RuntimeError | |
During handling of the above exception, another exception occurred: | |
self = <blockdiag.tests.test_boot_params.TestBootParams testMethod=test_type_option_svg> | |
def test_type_option_svg(self): | |
> options = self.parser.parse(['-Tsvg', 'input.diag']) | |
_build/lib/blockdiag/tests/test_boot_params.py:32: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/utils/bootstrap.py:139: in parse | |
self.validate() | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <blockdiag.command.BlockdiagOptions object at 0x6ea756ce4aa0> | |
def validate(self): | |
if len(self.args) == 0: | |
self.parser.print_help() | |
sys.exit(0) | |
self.options.input = self.args.pop(0) | |
if self.options.output: | |
pass | |
elif self.options.output == '-': | |
self.options.output = None | |
else: | |
if self.options.input == '-': | |
self.options.output = None | |
else: | |
basename = os.path.splitext(self.options.input)[0] | |
ext = '.%s' % self.options.type.lower() | |
self.options.output = basename + ext | |
self.options.type = self.options.type.upper() | |
try: | |
imagedraw.create(self.options.type, None, debug=self.options.debug) | |
except Exception: | |
msg = "unknown format: %s" % self.options.type | |
> raise RuntimeError(msg) | |
E RuntimeError: unknown format: SVG | |
_build/lib/blockdiag/utils/bootstrap.py:199: RuntimeError | |
_____________________ TestBuilder.test_diagram_attributes ______________________ | |
self = <blockdiag.tests.test_builder.TestBuilder testMethod=test_diagram_attributes> | |
def test_diagram_attributes(self): | |
> diagram = self.build('diagram_attributes.diag') | |
_build/lib/blockdiag/tests/test_builder.py:21: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/tests/utils.py:111: in build | |
return self._build(parse_file(pathname)) | |
_build/lib/blockdiag/tests/utils.py:114: in _build | |
return ScreenNodeBuilder.build(tree) | |
_build/lib/blockdiag/builder.py:613: in build | |
return cls(tree, config, layout).run() | |
_build/lib/blockdiag/builder.py:616: in __init__ | |
self.diagram = DiagramTreeBuilder().build(tree, config) | |
_build/lib/blockdiag/builder.py:27: in build | |
self.instantiate(self.diagram, tree) | |
_build/lib/blockdiag/builder.py:115: in instantiate | |
group.set_attribute(stmt) | |
_build/lib/blockdiag/elements.py:76: in set_attribute | |
getattr(self, "set_%s" % name)(value) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <Diagram 'None' (0, 0) 1x1 at 0x6ea756bab500>, value = 'diamond' | |
def set_default_shape(self, value): | |
if noderenderer.get(value): | |
DiagramNode.set_default_shape(value) | |
else: | |
msg = "unknown node shape: %s" % value | |
> raise AttributeError(msg) | |
E AttributeError: unknown node shape: diamond | |
_build/lib/blockdiag/elements.py:585: AttributeError | |
___________________ TestBuilderEdge.test_diagram_attributes ____________________ | |
self = <blockdiag.tests.test_builder_edge.TestBuilderEdge testMethod=test_diagram_attributes> | |
def test_diagram_attributes(self): | |
> diagram = self.build('diagram_attributes.diag') | |
_build/lib/blockdiag/tests/test_builder_edge.py:21: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/tests/utils.py:111: in build | |
return self._build(parse_file(pathname)) | |
_build/lib/blockdiag/tests/utils.py:114: in _build | |
return ScreenNodeBuilder.build(tree) | |
_build/lib/blockdiag/builder.py:613: in build | |
return cls(tree, config, layout).run() | |
_build/lib/blockdiag/builder.py:616: in __init__ | |
self.diagram = DiagramTreeBuilder().build(tree, config) | |
_build/lib/blockdiag/builder.py:27: in build | |
self.instantiate(self.diagram, tree) | |
_build/lib/blockdiag/builder.py:115: in instantiate | |
group.set_attribute(stmt) | |
_build/lib/blockdiag/elements.py:76: in set_attribute | |
getattr(self, "set_%s" % name)(value) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <Diagram 'None' (0, 0) 1x1 at 0x6ea756d307d0>, value = 'diamond' | |
def set_default_shape(self, value): | |
if noderenderer.get(value): | |
DiagramNode.set_default_shape(value) | |
else: | |
msg = "unknown node shape: %s" % value | |
> raise AttributeError(msg) | |
E AttributeError: unknown node shape: diamond | |
_build/lib/blockdiag/elements.py:585: AttributeError | |
___________________ TestBuilderNode.test_node_shape_diagram ____________________ | |
self = <blockdiag.tests.test_builder_node.TestBuilderNode testMethod=test_node_shape_diagram> | |
def test_node_shape_diagram(self): | |
expected = {'A': 'box', 'B': 'roundedbox', 'C': 'diamond', | |
'D': 'ellipse', 'E': 'note', 'F': 'cloud', | |
'G': 'mail', 'H': 'beginpoint', 'I': 'endpoint', | |
'J': 'minidiamond', 'K': 'flowchart.condition', | |
'L': 'flowchart.database', 'M': 'flowchart.input', | |
'N': 'flowchart.loopin', 'O': 'flowchart.loopout', | |
'P': 'actor', 'Q': 'flowchart.terminator', 'R': 'textbox', | |
'S': 'dots', 'T': 'none', 'U': 'square', 'V': 'circle', | |
'Z': 'box'} | |
> diagram = self.build('node_shape.diag') | |
_build/lib/blockdiag/tests/test_builder_node.py:40: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/tests/utils.py:111: in build | |
return self._build(parse_file(pathname)) | |
_build/lib/blockdiag/tests/utils.py:114: in _build | |
return ScreenNodeBuilder.build(tree) | |
_build/lib/blockdiag/builder.py:613: in build | |
return cls(tree, config, layout).run() | |
_build/lib/blockdiag/builder.py:616: in __init__ | |
self.diagram = DiagramTreeBuilder().build(tree, config) | |
_build/lib/blockdiag/builder.py:27: in build | |
self.instantiate(self.diagram, tree) | |
_build/lib/blockdiag/builder.py:126: in instantiate | |
self.instantiate(group, stmt) | |
_build/lib/blockdiag/builder.py:92: in instantiate | |
node.set_attributes(stmt.attrs) | |
_build/lib/blockdiag/elements.py:88: in set_attributes | |
self.set_attribute(attr) | |
_build/lib/blockdiag/elements.py:191: in set_attribute | |
super(DiagramNode, self).set_attribute(attr) | |
_build/lib/blockdiag/elements.py:76: in set_attribute | |
getattr(self, "set_%s" % name)(value) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <DiagramNode 'A' (0, 0) 1x1 at 0x6ea756d5a180>, value = 'box' | |
def set_shape(self, value): | |
if noderenderer.get(value): | |
self.shape = value | |
else: | |
msg = "unknown node shape: %s" % value | |
> raise AttributeError(msg) | |
E AttributeError: unknown node shape: box | |
_build/lib/blockdiag/elements.py:202: AttributeError | |
______________ TestBuilderNode.test_node_shape_namespace_diagram _______________ | |
self = <blockdiag.tests.test_builder_node.TestBuilderNode testMethod=test_node_shape_namespace_diagram> | |
def test_node_shape_namespace_diagram(self): | |
> diagram = self.build('node_shape_namespace.diag') | |
_build/lib/blockdiag/tests/test_builder_node.py:44: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/tests/utils.py:111: in build | |
return self._build(parse_file(pathname)) | |
_build/lib/blockdiag/tests/utils.py:114: in _build | |
return ScreenNodeBuilder.build(tree) | |
_build/lib/blockdiag/builder.py:613: in build | |
return cls(tree, config, layout).run() | |
_build/lib/blockdiag/builder.py:616: in __init__ | |
self.diagram = DiagramTreeBuilder().build(tree, config) | |
_build/lib/blockdiag/builder.py:27: in build | |
self.instantiate(self.diagram, tree) | |
_build/lib/blockdiag/builder.py:126: in instantiate | |
self.instantiate(group, stmt) | |
_build/lib/blockdiag/builder.py:92: in instantiate | |
node.set_attributes(stmt.attrs) | |
_build/lib/blockdiag/elements.py:88: in set_attributes | |
self.set_attribute(attr) | |
_build/lib/blockdiag/elements.py:191: in set_attribute | |
super(DiagramNode, self).set_attribute(attr) | |
_build/lib/blockdiag/elements.py:76: in set_attribute | |
getattr(self, "set_%s" % name)(value) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <DiagramNode 'A' (0, 0) 1x1 at 0x6ea756c89ac0> | |
value = 'flowchart.condition' | |
def set_shape(self, value): | |
if noderenderer.get(value): | |
self.shape = value | |
else: | |
msg = "unknown node shape: %s" % value | |
> raise AttributeError(msg) | |
E AttributeError: unknown node shape: flowchart.condition | |
_build/lib/blockdiag/elements.py:202: AttributeError | |
________________ TestBuilderNode.test_plugin_attributes_diagram ________________ | |
self = <blockdiag.tests.test_builder_node.TestBuilderNode testMethod=test_plugin_attributes_diagram> | |
def test_plugin_attributes_diagram(self): | |
> diagram = self.build('plugin_attributes.diag') | |
_build/lib/blockdiag/tests/test_builder_node.py:156: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/tests/utils.py:111: in build | |
return self._build(parse_file(pathname)) | |
_build/lib/blockdiag/tests/utils.py:114: in _build | |
return ScreenNodeBuilder.build(tree) | |
_build/lib/blockdiag/builder.py:613: in build | |
return cls(tree, config, layout).run() | |
_build/lib/blockdiag/builder.py:616: in __init__ | |
self.diagram = DiagramTreeBuilder().build(tree, config) | |
_build/lib/blockdiag/builder.py:27: in build | |
self.instantiate(self.diagram, tree) | |
_build/lib/blockdiag/builder.py:122: in instantiate | |
self.diagram.set_plugin(stmt.name, stmt.attrs, | |
_build/lib/blockdiag/elements.py:574: in set_plugin | |
plugins.load([name], diagram=self, **kwargs) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
plugins = ['attributes'] | |
diagram = <Diagram 'None' (0, 0) 1x1 at 0x6ea756bed820> | |
kwargs = {'config': None, 'test_attr1': None, 'test_attr2': 'name', 'test_attr3': 'name'} | |
name = 'attributes', msg = 'unknown plugin: attributes' | |
def load(plugins, diagram, **kwargs): | |
for name in plugins: | |
if name in loaded_plugins: | |
warning('plugin "%s" is already loaded. ignored.', name) | |
return | |
for ep in iter_entry_points('blockdiag_plugins', name): | |
module = ep.load() | |
loaded_plugins.append(name) | |
if hasattr(module, 'setup'): | |
module.setup(module, diagram, **kwargs) | |
break | |
else: | |
msg = "unknown plugin: %s" % name | |
> raise AttributeError(msg) | |
E AttributeError: unknown plugin: attributes | |
_build/lib/blockdiag/plugins/__init__.py:39: AttributeError | |
________________ TestBuilderNode.test_plugin_autoclass_diagram _________________ | |
self = <blockdiag.tests.test_builder_node.TestBuilderNode testMethod=test_plugin_autoclass_diagram> | |
def test_plugin_autoclass_diagram(self): | |
> diagram = self.build('plugin_autoclass.diag') | |
_build/lib/blockdiag/tests/test_builder_node.py:144: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
_build/lib/blockdiag/tests/utils.py:111: in build | |
return self._build(parse_file(pathname)) | |
_build/lib/blockdiag/tests/utils.py:114: in _build | |
return ScreenNodeBuilder.build(tree) | |
_build/lib/blockdiag/builder.py:613: in build | |
return cls(tree, config, layout).run() | |
_build/lib/blockdiag/builder.py:616: in __init__ | |
self.diagram = DiagramTreeBuilder().build(tree, config) | |
_build/lib/blockdiag/builder.py:27: in build | |
self.instantiate(self.diagram, tree) | |
_build/lib/blockdiag/builder.py:122: in instantiate | |
self.diagram.set_plugin(stmt.name, stmt.attrs, | |
_build/lib/blockdiag/elements.py:574: in set_plugin | |
plugins.load([name], diagram=self, **kwargs) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
plugins = ['autoclass'], diagram = <Diagram 'None' (0, 0) 1x1 at 0x6ea757249220> | |
kwargs = {'config': None}, name = 'autoclass', msg = 'unknown plugin: autoclass' | |
def load(plugins, diagram, **kwargs): | |
for name in plugins: | |
if name in loaded_plugins: | |
warning('plugin "%s" is already loaded. ignored.', name) | |
return | |
for ep in iter_entry_points('blockdiag_plugins', name): | |
module = ep.load() | |
loaded_plugins.append(name) | |
if hasattr(module, 'setup'): | |
module.setup(module, diagram, **kwargs) | |
break | |
else: | |
msg = "unknown plugin: %s" % name | |
> raise AttributeError(msg) | |
E AttributeError: unknown plugin: autoclass | |
_build/lib/blockdiag/plugins/__init__.py:39: AttributeError | |
__________________ TestBlockdiagApp.test_app_cleans_up_images __________________ | |
self = <blockdiag.tests.test_command.TestBlockdiagApp testMethod=test_app_cleans_up_images> | |
def test_app_cleans_up_images(self): | |
testdir = os.path.dirname(__file__) | |
diagpath = os.path.join(testdir, | |
'diagrams', | |
'background_url_image.diag') | |
urlopen_cache = {} | |
def cleanup(): | |
from blockdiag.utils import images | |
urlopen_cache.update(images.urlopen_cache) | |
try: | |
tmpdir = TemporaryDirectory() | |
fd, tmpfile = tmpdir.mkstemp() | |
os.close(fd) | |
args = ['-T', 'SVG', '-o', tmpfile, diagpath] | |
app = BlockdiagApp() | |
app.register_cleanup_handler(cleanup) # to get internal state | |
app.run(args) | |
> self.assertTrue(urlopen_cache) # check images were cached | |
E AssertionError: {} is not true | |
_build/lib/blockdiag/tests/test_command.py:45: AssertionError | |
----------------------------- Captured stderr call ----------------------------- | |
ERROR: unknown format: SVG | |
_________________ TestBlockdiagApp.test_app_cleans_up_plugins __________________ | |
self = <blockdiag.tests.test_command.TestBlockdiagApp testMethod=test_app_cleans_up_plugins> | |
def test_app_cleans_up_plugins(self): | |
testdir = os.path.dirname(__file__) | |
diagpath = os.path.join(testdir, | |
'diagrams', | |
'plugin_autoclass.diag') | |
loaded_plugins = [] | |
def cleanup(): | |
from blockdiag import plugins | |
loaded_plugins.extend(plugins.loaded_plugins) | |
try: | |
tmpdir = TemporaryDirectory() | |
fd, tmpfile = tmpdir.mkstemp() | |
os.close(fd) | |
args = ['-T', 'SVG', '-o', tmpfile, diagpath] | |
app = BlockdiagApp() | |
app.register_cleanup_handler(cleanup) # to get internal state | |
app.run(args) | |
from blockdiag import plugins | |
> self.assertTrue(loaded_plugins) # check plugins were loaded | |
E AssertionError: [] is not true | |
_build/lib/blockdiag/tests/test_command.py:73: AssertionError | |
----------------------------- Captured stderr call ----------------------------- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate_option[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate1.diag-svg-options0] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate1.diag' | |
file_type = 'svg', options = ['--separate'] | |
@pytest.mark.parametrize("source,file_type,options", generate_with_separate_testdata) | |
def test_generate_with_separate_option(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:67: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate1.diag', 'svg', ['--separate']) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate_option[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate2.diag-svg-options4] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate2.diag' | |
file_type = 'svg', options = ['--separate'] | |
@pytest.mark.parametrize("source,file_type,options", generate_with_separate_testdata) | |
def test_generate_with_separate_option(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:67: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate2.diag', 'svg', ['--separate']) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_attribute_and_group.diag-svg-options0] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_attribute_and_group.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_attribute_and_group.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/labeled_circular_ref.diag-svg-options4] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/labeled_circular_ref.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/labeled_circular_ref.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/non_rhombus_relation_height.diag-svg-options8] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/non_rhombus_relation_height.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/non_rhombus_relation_height.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/branched.diag-svg-options12] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/branched.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/branched.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/beginpoint_color.diag-svg-options16] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/beginpoint_color.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/beginpoint_color.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/self_ref.diag-svg-options20] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/self_ref.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/self_ref.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_nested_group.diag-svg-options24] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_nested_group.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_nested_group.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_styles.diag-svg-options28] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_styles.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_styles.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape.diag-svg-options32] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_sibling.diag-svg-options36] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_sibling.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_sibling.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/plugin_attributes.diag-svg-options40] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/plugin_attributes.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/plugin_attributes.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_with_none_shadow.diag-svg-options44] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_with_none_shadow.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_with_none_shadow.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/flowable_node.diag-svg-options48] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/flowable_node.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/flowable_node.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_groups.diag-svg-options52] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_groups.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_groups.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_width_and_height.diag-svg-options56] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_width_and_height.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_width_and_height.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_up.diag-svg-options60] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_up.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_up.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge.diag-svg-options64] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/simple_group.diag-svg-options68] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/simple_group.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/simple_group.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups.diag-svg-options72] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_group_declaration.diag-svg-options76] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_group_declaration.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_group_declaration.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups_work_node_decorator.diag-svg-options80] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups_work_node_decorator.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups_work_node_decorator.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/background_url_local.diag-svg-options84] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/background_url_local.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/background_url_local.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_declare_as_node_attribute.diag-svg-options88] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_declare_as_node_attribute.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_declare_as_node_attribute.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_shape.diag-svg-options92] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_shape.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_shape.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_has_multilined_label.diag-svg-options96] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_has_multilined_label.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_has_multilined_label.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/stacked_node_and_edges.diag-svg-options100] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/stacked_node_and_edges.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/stacked_node_and_edges.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_leftdown.diag-svg-options104] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_leftdown.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_leftdown.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_background.diag-svg-options108] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_background.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_background.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_attribute.diag-svg-options112] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_attribute.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_attribute.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_flowchart_rightdown.diag-svg-options116] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_flowchart_rightdown.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_flowchart_rightdown.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_twin_circular.diag-svg-options120] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_twin_circular.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_twin_circular.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_two_nodes.diag-svg-options124] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_two_nodes.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_two_nodes.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_skipped_edge.diag-svg-options128] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_skipped_edge.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_skipped_edge.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups_and_edges.diag-svg-options132] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups_and_edges.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups_and_edges.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order.diag-svg-options136] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/merge_groups.diag-svg-options140] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/merge_groups.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/merge_groups.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref_to_root.diag-svg-options144] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref_to_root.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref_to_root.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_datamodels.diag-svg-options148] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_datamodels.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_datamodels.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/portrait_dots.diag-svg-options152] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/portrait_dots.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/portrait_dots.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_group_orientation.diag-svg-options156] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_group_orientation.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_group_orientation.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_attribute.diag-svg-options160] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_attribute.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_attribute.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_circular_ref_to_root.diag-svg-options164] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_circular_ref_to_root.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_circular_ref_to_root.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_and_skipped_edge.diag-svg-options168] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_and_skipped_edge.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_and_skipped_edge.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_rightdown.diag-svg-options172] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_rightdown.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_rightdown.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_in_group_follows_outer_node.diag-svg-options176] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_in_group_follows_outer_node.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_in_group_follows_outer_node.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/single_edge.diag-svg-options180] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/single_edge.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/single_edge.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/folded_edge.diag-svg-options184] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/folded_edge.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/folded_edge.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/endpoint_color.diag-svg-options188] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/endpoint_color.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/endpoint_color.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/triple_branched.diag-svg-options192] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/triple_branched.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/triple_branched.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_forked.diag-svg-options196] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_forked.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_forked.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/slided_children.diag-svg-options200] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/slided_children.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/slided_children.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_nodes_definition.diag-svg-options204] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_nodes_definition.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_nodes_definition.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_nested_groups.diag-svg-options208] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_nested_groups.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_nested_groups.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_circular.diag-svg-options212] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_circular.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_circular.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_leftdown.diag-svg-options216] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_leftdown.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_leftdown.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_group.diag-svg-options220] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_group.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_group.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_with_solid_shadow.diag-svg-options224] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_with_solid_shadow.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_with_solid_shadow.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_rotated_labels.diag-svg-options228] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_rotated_labels.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_rotated_labels.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_flowchart_rightdown2.diag-svg-options232] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_flowchart_rightdown2.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_flowchart_rightdown2.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_circular_ref.diag-svg-options236] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_circular_ref.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_circular_ref.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_attributes_order.diag-svg-options240] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_attributes_order.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_attributes_order.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_right.diag-svg-options244] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_right.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_right.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_parent_node.diag-svg-options248] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_parent_node.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_parent_node.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_label.diag-svg-options252] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_label.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_label.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_multiple_parent_node.diag-svg-options256] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_multiple_parent_node.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_multiple_parent_node.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_label.diag-svg-options260] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_label.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_label.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/two_edges.diag-svg-options264] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/two_edges.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/two_edges.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/plugin_autoclass.diag-svg-options268] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/plugin_autoclass.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/plugin_autoclass.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_height.diag-svg-options272] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_height.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_height.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_down.diag-svg-options276] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_down.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_down.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref_and_parent_node.diag-svg-options280] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref_and_parent_node.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref_and_parent_node.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_flowchart_rightdown.diag-svg-options284] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_flowchart_rightdown.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_flowchart_rightdown.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/auto_jumping_edge.diag-svg-options288] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/auto_jumping_edge.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/auto_jumping_edge.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_attribute.diag-svg-options292] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_attribute.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_attribute.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_height.diag-svg-options296] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_height.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_height.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_rightdown.diag-svg-options300] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_rightdown.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_rightdown.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_down.diag-svg-options304] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_down.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_down.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/single_node.diag-svg-options308] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/single_node.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/single_node.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order2.diag-svg-options312] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order2.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order2.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_skipped_circular.diag-svg-options316] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_skipped_circular.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_skipped_circular.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order3.diag-svg-options320] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order3.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order3.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_namespace.diag-svg-options324] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_namespace.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_namespace.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_node.diag-svg-options328] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_node.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_node.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_icon.diag-svg-options332] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_icon.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_icon.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_node2.diag-svg-options336] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_node2.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_node2.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_layout_landscape.diag-svg-options340] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_layout_landscape.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_layout_landscape.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_styles.diag-svg-options344] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_styles.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_styles.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_works_node_decorator.diag-svg-options348] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_works_node_decorator.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_works_node_decorator.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_node_relation.diag-svg-options352] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_node_relation.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_node_relation.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/rhombus_relation_height.diag-svg-options356] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/rhombus_relation_height.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/rhombus_relation_height.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_rightup.diag-svg-options360] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_rightup.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_rightup.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/reverse_multiple_groups.diag-svg-options364] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/reverse_multiple_groups.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/reverse_multiple_groups.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_height.diag-svg-options368] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_height.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_height.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_link.diag-svg-options372] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_link.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_link.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/quoted_node_id.diag-svg-options376] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/quoted_node_id.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/quoted_node_id.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/define_class.diag-svg-options380] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/define_class.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/define_class.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_has_block_label.diag-svg-options384] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_has_block_label.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_has_block_label.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_style_dasharray.diag-svg-options388] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_style_dasharray.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_style_dasharray.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order2.diag-svg-options392] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order2.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order2.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_id_includes_dot.diag-svg-options396] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_id_includes_dot.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_id_includes_dot.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order3.diag-svg-options400] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order3.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order3.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_orientation.diag-svg-options404] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_orientation.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_orientation.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_orientation.diag-svg-options408] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_orientation.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_orientation.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order4.diag-svg-options412] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order4.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order4.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref.diag-svg-options416] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_right.diag-svg-options420] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_right.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_right.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/background_url_image.diag-svg-options424] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/background_url_image.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/background_url_image.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_flowchart_rightdown2.diag-svg-options428] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_flowchart_rightdown2.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_flowchart_rightdown2.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate1.diag-svg-options432] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate1.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate1.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/outer_node_follows_node_in_group.diag-svg-options436] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/outer_node_follows_node_in_group.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/outer_node_follows_node_in_group.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate2.diag-svg-options440] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate2.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate2.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_attributes.diag-svg-options444] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_attributes.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_attributes.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref2.diag-svg-options448] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref2.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref2.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_layout_portrait.diag-svg-options452] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_layout_portrait.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_layout_portrait.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order.diag-svg-options456] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_group_orientation2.diag-svg-options460] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_group_orientation2.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_group_orientation2.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
_ test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_id_and_node_id_are_not_conflicted.diag-svg-options464] _ | |
source = '/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_id_and_node_id_are_not_conflicted.diag' | |
file_type = 'svg', options = [] | |
@pytest.mark.parametrize("source,file_type,options", generate_testdata) | |
def test_generate_with_separate(source, file_type, options): | |
> generate(source, file_type, options) | |
_build/lib/blockdiag/tests/test_generate_diagram.py:72: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
args = ('/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_id_and_node_id_are_not_conflicted.diag', 'svg', []) | |
kwargs = {} | |
stderr = <_io.TextIOWrapper name="<_io.FileIO name=8 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> | |
def wrap(*args, **kwargs): | |
try: | |
stderr = sys.stderr | |
sys.stderr = StringIO() | |
func(*args, **kwargs) | |
if re.search('(ERROR|Traceback)', sys.stderr.getvalue()): | |
> raise AssertionError('Caught error') | |
E AssertionError: Caught error | |
_build/lib/blockdiag/tests/utils.py:78: AssertionError | |
----------------------------- Captured stdout call ----------------------------- | |
---[ stderr ] --- | |
ERROR: unknown format: SVG | |
=============================== warnings summary =============================== | |
_build/lib/blockdiag/noderenderer/__init__.py:18 | |
/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/noderenderer/__init__.py:18: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html | |
import pkg_resources | |
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html | |
=========================== short test summary info ============================ | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_align_option1 | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_align_option2 | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_align_option3 | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_alt_option | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_call_with_brace | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_call_without_braces | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_caption_option | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_caption_option2 | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_caption_option_and_align_option | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_class_option | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_desctable_option | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_desctable_option_for_edges | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_desctable_option_for_nodes_and_edges | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_desctable_option_using_node_group | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_desctable_option_with_numbered | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_desctable_option_with_numbered_and_description | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_desctable_option_with_rest_markups | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_desctable_option_without_description | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_figclass_option | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_figwidth_option1 | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_figwidth_option2 | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_height_option | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_maxwidth_option | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_name_option | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_scale_option | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_inline_svg_is_false | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_inline_svg_is_true | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_inline_svg_is_true_and_height_option1 | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_inline_svg_is_true_and_height_option2 | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_inline_svg_is_true_and_width_and_height_option | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_inline_svg_is_true_and_width_option1 | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_inline_svg_is_true_and_width_option2 | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_inline_svg_is_true_but_format_isnt_svg | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_inline_svg_is_true_with_multibytes | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_nodoctype_is_false | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_nodoctype_is_true | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_noviewbox_is_false | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_setup_noviewbox_is_true | |
FAILED _build/lib/blockdiag/tests/rst/test_blockdiag_directives.py::TestRstDirectives::test_width_option | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_config_option | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_config_option_fontpath | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_config_option_with_bom | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_exist_font_config_option | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_no_size_option | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_png_notransparency_option | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_separate_option_pdf | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_separate_option_png | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_separate_option_svg | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_size_option | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_svg_nodoctype_option | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_type_option_pdf | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_type_option_png | |
FAILED _build/lib/blockdiag/tests/test_boot_params.py::TestBootParams::test_type_option_svg | |
FAILED _build/lib/blockdiag/tests/test_builder.py::TestBuilder::test_diagram_attributes | |
FAILED _build/lib/blockdiag/tests/test_builder_edge.py::TestBuilderEdge::test_diagram_attributes | |
FAILED _build/lib/blockdiag/tests/test_builder_node.py::TestBuilderNode::test_node_shape_diagram | |
FAILED _build/lib/blockdiag/tests/test_builder_node.py::TestBuilderNode::test_node_shape_namespace_diagram | |
FAILED _build/lib/blockdiag/tests/test_builder_node.py::TestBuilderNode::test_plugin_attributes_diagram | |
FAILED _build/lib/blockdiag/tests/test_builder_node.py::TestBuilderNode::test_plugin_autoclass_diagram | |
FAILED _build/lib/blockdiag/tests/test_command.py::TestBlockdiagApp::test_app_cleans_up_images | |
FAILED _build/lib/blockdiag/tests/test_command.py::TestBlockdiagApp::test_app_cleans_up_plugins | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate_option[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate1.diag-svg-options0] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate_option[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate2.diag-svg-options4] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_attribute_and_group.diag-svg-options0] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/labeled_circular_ref.diag-svg-options4] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/non_rhombus_relation_height.diag-svg-options8] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/branched.diag-svg-options12] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/beginpoint_color.diag-svg-options16] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/self_ref.diag-svg-options20] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_nested_group.diag-svg-options24] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_styles.diag-svg-options28] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape.diag-svg-options32] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_sibling.diag-svg-options36] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/plugin_attributes.diag-svg-options40] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_with_none_shadow.diag-svg-options44] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/flowable_node.diag-svg-options48] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_groups.diag-svg-options52] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_width_and_height.diag-svg-options56] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_up.diag-svg-options60] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge.diag-svg-options64] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/simple_group.diag-svg-options68] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups.diag-svg-options72] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_group_declaration.diag-svg-options76] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups_work_node_decorator.diag-svg-options80] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/background_url_local.diag-svg-options84] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_declare_as_node_attribute.diag-svg-options88] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_shape.diag-svg-options92] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_has_multilined_label.diag-svg-options96] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/stacked_node_and_edges.diag-svg-options100] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_leftdown.diag-svg-options104] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_background.diag-svg-options108] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_attribute.diag-svg-options112] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_flowchart_rightdown.diag-svg-options116] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_twin_circular.diag-svg-options120] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_two_nodes.diag-svg-options124] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_skipped_edge.diag-svg-options128] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_groups_and_edges.diag-svg-options132] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order.diag-svg-options136] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/merge_groups.diag-svg-options140] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref_to_root.diag-svg-options144] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_datamodels.diag-svg-options148] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/portrait_dots.diag-svg-options152] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_group_orientation.diag-svg-options156] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_attribute.diag-svg-options160] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_circular_ref_to_root.diag-svg-options164] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_and_skipped_edge.diag-svg-options168] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_rightdown.diag-svg-options172] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_in_group_follows_outer_node.diag-svg-options176] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/single_edge.diag-svg-options180] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/folded_edge.diag-svg-options184] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/endpoint_color.diag-svg-options188] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/triple_branched.diag-svg-options192] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_forked.diag-svg-options196] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/slided_children.diag-svg-options200] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_nodes_definition.diag-svg-options204] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_nested_groups.diag-svg-options208] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_circular.diag-svg-options212] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_leftdown.diag-svg-options216] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/empty_group.diag-svg-options220] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_with_solid_shadow.diag-svg-options224] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_rotated_labels.diag-svg-options228] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_flowchart_rightdown2.diag-svg-options232] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_circular_ref.diag-svg-options236] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_attributes_order.diag-svg-options240] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_right.diag-svg-options244] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_parent_node.diag-svg-options248] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_label.diag-svg-options252] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/twin_multiple_parent_node.diag-svg-options256] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_label.diag-svg-options260] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/two_edges.diag-svg-options264] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/plugin_autoclass.diag-svg-options268] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_height.diag-svg-options272] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_down.diag-svg-options276] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref_and_parent_node.diag-svg-options280] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_flowchart_rightdown.diag-svg-options284] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/auto_jumping_edge.diag-svg-options288] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_attribute.diag-svg-options292] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_height.diag-svg-options296] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_rightdown.diag-svg-options300] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_down.diag-svg-options304] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/single_node.diag-svg-options308] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order2.diag-svg-options312] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_skipped_circular.diag-svg-options316] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_order3.diag-svg-options320] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_shape_namespace.diag-svg-options324] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_node.diag-svg-options328] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_icon.diag-svg-options332] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/large_group_and_node2.diag-svg-options336] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_layout_landscape.diag-svg-options340] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_styles.diag-svg-options344] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_works_node_decorator.diag-svg-options348] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/multiple_node_relation.diag-svg-options352] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/rhombus_relation_height.diag-svg-options356] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_rightup.diag-svg-options360] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/reverse_multiple_groups.diag-svg-options364] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_height.diag-svg-options368] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_link.diag-svg-options372] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/quoted_node_id.diag-svg-options376] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/define_class.diag-svg-options380] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_has_block_label.diag-svg-options384] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_style_dasharray.diag-svg-options388] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order2.diag-svg-options392] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/node_id_includes_dot.diag-svg-options396] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order3.diag-svg-options400] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_orientation.diag-svg-options404] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_orientation.diag-svg-options408] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order4.diag-svg-options412] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref.diag-svg-options416] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_right.diag-svg-options420] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/background_url_image.diag-svg-options424] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/skipped_edge_portrait_flowchart_rightdown2.diag-svg-options428] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate1.diag-svg-options432] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/outer_node_follows_node_in_group.diag-svg-options436] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/separate2.diag-svg-options440] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/diagram_attributes.diag-svg-options444] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/circular_ref2.diag-svg-options448] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/edge_layout_portrait.diag-svg-options452] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_children_order.diag-svg-options456] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/nested_group_orientation2.diag-svg-options460] | |
FAILED _build/lib/blockdiag/tests/test_generate_diagram.py::test_generate_with_separate[/build/blockdiag/src/blockdiag-3.1.0/_build/lib/blockdiag/tests/diagrams/group_id_and_node_id_are_not_conflicted.diag-svg-options464] | |
================== 180 failed, 534 passed, 1 warning in 6.93s ================== | |
==> ERROR: A failure occurred in check(). | |
Aborting... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment