forked from p34709852/monkey
island: Add unit test for MONKEY_ISLAND_ABS_PATH
If the consts.py is moved, MONKEY_ISLAND_ABS_PATH may be incorrect. This unit test guards against the introduction of a bug if consts.py is moved.
This commit is contained in:
parent
c40af5073b
commit
92293e601c
|
@ -0,0 +1,5 @@
|
|||
from monkey_island.cc.server_utils import consts
|
||||
|
||||
|
||||
def test_monkey_island_abs_path():
|
||||
assert consts.MONKEY_ISLAND_ABS_PATH.endswith("monkey_island")
|
Loading…
Reference in New Issue