diff options
author | Andreas Finkler <3929834+DudeNr33@users.noreply.github.com> | 2021-08-14 21:34:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-14 21:34:00 +0200 |
commit | 4da3862f492f017be3149a5b89f365335f0bf746 (patch) | |
tree | 8c6c3622232b22c79280dca66c8c4e5f02262ad5 /tests/pyreverse/test_diadefs.py | |
parent | f2cd986da07c12e81dd411e4b1190386a6cad750 (diff) | |
download | pylint-git-4da3862f492f017be3149a5b89f365335f0bf746.tar.gz |
``pyreverse``: add PlantUML output (#4846)
* Extract helper method to get annotated arguments into ``Printer`` base class.
* Add ``Printer`` subclass for PlantUML output
* Add functional test for ``PlantUmlPrinter``
* Add tests for specific layout for ``PlantUmlPrinter``
* Extract test helper function to remove code duplication
* Add new test class to check type annotations
* Cleanup generated .puml files after tests finished
* Create a factory function to get the correct ``Printer`` class for a given filetype.
* Fix unittest after adding a new class to the test data.
* Add changelog and whatsnew entry
* Add "plantuml" as possible extension for PlantUML output
Diffstat (limited to 'tests/pyreverse/test_diadefs.py')
-rw-r--r-- | tests/pyreverse/test_diadefs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pyreverse/test_diadefs.py b/tests/pyreverse/test_diadefs.py index 3f08c1f3d..e38d1dc1f 100644 --- a/tests/pyreverse/test_diadefs.py +++ b/tests/pyreverse/test_diadefs.py @@ -141,8 +141,10 @@ def test_known_values1(HANDLER, PROJECT): classes = _process_classes(cd.objects) assert classes == [ (True, "Ancestor"), + (True, "CustomException"), (True, "DoNothing"), (True, "DoNothing2"), + (True, "DoSomething"), (True, "Interface"), (True, "Specialization"), ] |