Added test for wrong logo format.
This commit is contained in:
parent
3df9e8b1c7
commit
b60b0ef680
|
|
@ -519,3 +519,10 @@ def test_error_int_bom_invalid_col():
|
|||
ctx.run(EXIT_BAD_CONFIG)
|
||||
assert ctx.search_err("Invalid column name")
|
||||
ctx.clean_up()
|
||||
|
||||
|
||||
def test_error_int_bom_logo_format():
|
||||
ctx = context.TestContextSCH('test_error_int_bom_logo_format', 'links', 'error_int_bom_logo_format', '')
|
||||
ctx.run(EXIT_BAD_CONFIG)
|
||||
assert ctx.search_err("Only PNG images are supported for the logo")
|
||||
ctx.clean_up()
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
# Example KiPlot config file
|
||||
kiplot:
|
||||
version: 1
|
||||
|
||||
outputs:
|
||||
- name: 'bom_internal'
|
||||
comment: "Bill of Materials in CSV format"
|
||||
type: bom
|
||||
dir: BoM
|
||||
options:
|
||||
html:
|
||||
logo: 'README.md'
|
||||
|
||||
Loading…
Reference in New Issue