pull/1679/head
alpharush 2 years ago
parent c08cbee3ec
commit 5a37d308bd
  1. 1
      slither/core/declarations/contract.py
  2. 2
      tests/test_features.py

@ -192,6 +192,7 @@ class Contract(SourceMapping): # pylint: disable=too-many-public-methods
@comments.setter @comments.setter
def comments(self, comments: str): def comments(self, comments: str):
self._comments = comments self._comments = comments
def is_fully_implemented(self) -> bool: def is_fully_implemented(self) -> bool:
return self._is_fully_implemented return self._is_fully_implemented

@ -210,7 +210,7 @@ def test_abstract_contract() -> None:
assert not slither.contracts[0].is_fully_implemented assert not slither.contracts[0].is_fully_implemented
solc_select.switch_global_version("0.5.0", always_install=True) 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 assert not slither.contracts[0].is_fully_implemented
slither = Slither( slither = Slither(

Loading…
Cancel
Save