summaryrefslogtreecommitdiff
path: root/tests/pyreverse/test_printer.py
diff options
context:
space:
mode:
authorAndreas Finkler <3929834+DudeNr33@users.noreply.github.com>2021-08-15 20:06:31 +0200
committerGitHub <noreply@github.com>2021-08-15 20:06:31 +0200
commit14c007593148b2c01ed1cfd67af6790e41fa6c76 (patch)
tree2480025e523aa928310619c8f26058a4ee8970f7 /tests/pyreverse/test_printer.py
parente54df784e2bb880943f69abe45b5210474320e29 (diff)
downloadpylint-git-14c007593148b2c01ed1cfd67af6790e41fa6c76.tar.gz
``pyreverse``: Add option for colored output (#4850)
* Add option to produce colored output from ``pyreverse`` * Use indentation in PlantUML diagrams Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/pyreverse/test_printer.py')
-rw-r--r--tests/pyreverse/test_printer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyreverse/test_printer.py b/tests/pyreverse/test_printer.py
index 703d9dfc9..77d12f630 100644
--- a/tests/pyreverse/test_printer.py
+++ b/tests/pyreverse/test_printer.py
@@ -49,4 +49,4 @@ class TestPlantUmlPrinter:
def test_node_without_properties(self):
self.printer.emit_node(name="test", type_=NodeType.CLASS)
- assert self.printer.lines[-1] == 'class "test" as test {\n\n}\n'
+ assert self.printer.lines[-2:] == ['class "test" as test {\n', "}\n"]