Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
robtaylor committed Oct 1, 2024
1 parent 04e01dc commit 0c56a27
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions doorstop/core/tests/files/REQ002.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ text: |
```plantuml format="svg_inline" alt="Use Cases of Doorstop" title="Use Cases of Doorstop"
@startuml
skinparam svgDimensionStyle false
Author --> (Create Document)
Author --> (Create Item)
Author --> (Link Item to Document)
Expand Down
1 change: 1 addition & 0 deletions doorstop/core/tests/files/exported.csv
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ REQ002,2.1,"Hello, world!

```plantuml format=""svg_inline"" alt=""Use Cases of Doorstop"" title=""Use Cases of Doorstop""
@startuml
skinparam svgDimensionStyle false
Author --> (Create Document)
Author --> (Create Item)
Author --> (Link Item to Document)
Expand Down
1 change: 1 addition & 0 deletions doorstop/core/tests/files/exported.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ REQ002 2.1 "Hello, world!

```plantuml format=""svg_inline"" alt=""Use Cases of Doorstop"" title=""Use Cases of Doorstop""
@startuml
skinparam svgDimensionStyle false
Author --> (Create Document)
Author --> (Create Item)
Author --> (Link Item to Document)
Expand Down
1 change: 1 addition & 0 deletions doorstop/core/tests/files/published.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Hello, world!

```plantuml format="svg_inline" alt="Use Cases of Doorstop" title="Use Cases of Doorstop"
@startuml
skinparam svgDimensionStyle false
Author --> (Create Document)
Author --> (Create Item)
Author --> (Link Item to Document)
Expand Down
1 change: 1 addition & 0 deletions doorstop/core/tests/files/published2.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Hello, world!

```plantuml format="svg_inline" alt="Use Cases of Doorstop" title="Use Cases of Doorstop"
@startuml
skinparam svgDimensionStyle false
Author --> (Create Document)
Author --> (Create Item)
Author --> (Link Item to Document)
Expand Down
8 changes: 6 additions & 2 deletions doorstop/core/tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,9 +582,13 @@ def setUp(self):
FILES, "plantuml-1.2024.7.jar"
)
plantuml_ext = next(
x for x in HtmlPublisher.EXTENSIONS if type(x) == PlantUMLMarkdownExtension
x for x in HtmlPublisher.EXTENSIONS if type(x) is PlantUMLMarkdownExtension
)
plantuml_ext.setConfigs({"server": "", "plantuml_cmd": plantuml_cmd})
plantuml_ext.setConfigs({
"server": "",
"plantuml_cmd": plantuml_cmd,
"remove_inline_svg_size": False
})

def tearDown(self):
if os.path.exists(self.temp):
Expand Down

0 comments on commit 0c56a27

Please sign in to comment.