summaryrefslogtreecommitdiff
path: root/tests/pyreverse/test_diadefs.py
diff options
context:
space:
mode:
authorTakahide Nojima <nozzy123nozzy@gmail.com>2021-10-23 16:42:44 +0900
committerTakahide Nojima <nozzy123nozzy@gmail.com>2021-10-26 15:01:23 +0000
commit30a6c5864d762b9500570a9d944f321b01584206 (patch)
treef9a71b3f80198ab606514c4ef541c7b34decb430 /tests/pyreverse/test_diadefs.py
parent4e3acd8e4451ae39dbd5a6c8c5eba79300136d2f (diff)
downloadpylint-git-30a6c5864d762b9500570a9d944f321b01584206.tar.gz
Modify sources along with results of pr review.
- move "tests/prop_data/*" to "tests/data/." - make tests/data/property_pattern.py correctly executable. - remove class members not related to "property" from test/data/property_pattern.py. - modify tests of pyreverse to pass all tests.
Diffstat (limited to 'tests/pyreverse/test_diadefs.py')
-rw-r--r--tests/pyreverse/test_diadefs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pyreverse/test_diadefs.py b/tests/pyreverse/test_diadefs.py
index ec7b48614..5c5ca13e1 100644
--- a/tests/pyreverse/test_diadefs.py
+++ b/tests/pyreverse/test_diadefs.py
@@ -148,6 +148,7 @@ def test_known_values1(HANDLER: DiadefsHandler, PROJECT: Project) -> None:
assert modules == [
(True, "data"),
(True, "data.clientmodule_test"),
+ (True, "data.property_pattern"),
(True, "data.suppliermodule_test"),
]
cd = dd[1]
@@ -160,6 +161,7 @@ def test_known_values1(HANDLER: DiadefsHandler, PROJECT: Project) -> None:
(True, "DoNothing2"),
(True, "DoSomething"),
(True, "Interface"),
+ (True, "PropertyPatterns"),
(True, "Specialization"),
]