island: Assert isdir() in test_monkey_island_abs_path()

This commit is contained in:
Mike Salvatore 2021-06-06 19:01:16 -04:00
parent 00434b9a25
commit b0ac07553a
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
import os
from monkey_island.cc.server_utils import consts
def test_monkey_island_abs_path():
assert consts.MONKEY_ISLAND_ABS_PATH.endswith("monkey_island")
assert os.path.isdir(consts.MONKEY_ISLAND_ABS_PATH)