From 5a37d308bd82f348d820c37e870abc22d7160454 Mon Sep 17 00:00:00 2001 From: alpharush <0xalpharush@protonmail.com> Date: Mon, 13 Mar 2023 13:35:51 -0500 Subject: [PATCH] fmt --- slither/core/declarations/contract.py | 1 + tests/test_features.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/slither/core/declarations/contract.py b/slither/core/declarations/contract.py index dbd81890c..51363b9fc 100644 --- a/slither/core/declarations/contract.py +++ b/slither/core/declarations/contract.py @@ -192,6 +192,7 @@ class Contract(SourceMapping): # pylint: disable=too-many-public-methods @comments.setter def comments(self, comments: str): self._comments = comments + def is_fully_implemented(self) -> bool: return self._is_fully_implemented diff --git a/tests/test_features.py b/tests/test_features.py index 20393df38..d93a4ca2f 100644 --- a/tests/test_features.py +++ b/tests/test_features.py @@ -210,7 +210,7 @@ def test_abstract_contract() -> None: assert not slither.contracts[0].is_fully_implemented solc_select.switch_global_version("0.5.0", always_install=True) - slither = Slither("./tests/function_features/implicit_abstract.sol") + slither = Slither("./tests/function_features/abstract.sol") assert not slither.contracts[0].is_fully_implemented slither = Slither(