Skip to content

Commit

Permalink
update for pyhidra 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
clearbluejar committed Jan 31, 2024
1 parent 0277544 commit 45f5333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_bsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
from ghidrecomp import decompile, get_parser
from ghidrecomp.decompile import get_bin_output_path, gen_proj_bin_name_from_path
from ghidrecomp.bsim import has_bsim,add_bsim_args_to_parser,add_categories_to_prog
from pyhidra.version import get_ghidra_version
from pyhidra import HeadlessPyhidraLauncher

# check BSIM exists
def test_bsim_should_exist():

pyhidra.start()

# check ghidra version and bail if old
if get_ghidra_version() < '11.0':
if HeadlessPyhidraLauncher().app_info.version < '11.0':
assert not has_bsim()
else:
assert has_bsim()
Expand Down

0 comments on commit 45f5333

Please sign in to comment.