mirror of
https://github.com/hugsy/gef.git
synced 2026-10-12 02:15:57 +00:00
## 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
17 lines
381 B
Python
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
|