Skip to content

Commit

Permalink
start adding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
clearbluejar committed May 19, 2023
1 parent cbae369 commit 974bf46
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Empty file added tests/test_main.py
Empty file.
12 changes: 12 additions & 0 deletions tests/test_startup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from pathlib import Path
import ghidriff
import os
import pytest
import pyhidra


def test_bogus_ghidra_install_dir(monkeypatch):

monkeypatch.setenv("GHIDRA_INSTALL_DIR", "/somebogusplace")
print(os.getenv('GHIDRA_INSTALL_DIR'))
pyhidra.start()

0 comments on commit 974bf46

Please sign in to comment.