From b0ac07553acfde9210e083512f6655cbf069e639 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Sun, 6 Jun 2021 19:01:16 -0400 Subject: [PATCH] island: Assert isdir() in test_monkey_island_abs_path() --- .../unit_tests/monkey_island/cc/server_utils/test_consts.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/monkey/tests/unit_tests/monkey_island/cc/server_utils/test_consts.py b/monkey/tests/unit_tests/monkey_island/cc/server_utils/test_consts.py index eeb600b9b..8d0b0b1b4 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/server_utils/test_consts.py +++ b/monkey/tests/unit_tests/monkey_island/cc/server_utils/test_consts.py @@ -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)