Files
gef/tests/commands/reset_cache.py
T
crazy hugsy 90cced847b [Maintenance] Remove unmaintained commands, tests, and documentation, and moved to Ruff (#1222)
## Description

This PR  
 - removes unmaintained `shellcode` commands, tests, and documentation
- (finally) switches to Ruff instead of Pylint (still handled by
`pre-commit`)
 - fixes a few ruff/ty-found issues
2026-05-02 12:15:26 -07:00

17 lines
381 B
Python

"""
`reset-cache` command test module
"""
from tests.base import RemoteGefUnitTestGeneric
class ResetCacheCommand(RemoteGefUnitTestGeneric):
"""`reset-cache` command test module"""
def test_cmd_reset_cache(self):
gdb = self._gdb
gdb.execute("start")
res = gdb.execute("reset-cache", to_string=True)
assert not res
# TODO improve