Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
resolved test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
andreamah committed Apr 8, 2020
1 parent b6e0b99 commit b0ecb2d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/common/debugger_communication_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,23 @@
from . import constants as CONSTANTS
from . import utils
import threading

import os
import python_constants as TOPLEVEL_CONSTANTS

from adafruit_circuitplayground.express import cpx
from adafruit_circuitplayground.constants import CPX

# add ref for micropython and clue
abs_path_to_parent_dir = os.path.dirname(
os.path.join(os.path.abspath(__file__), "..", "..", "..")
)

sys.path.insert(
0, os.path.join(abs_path_to_parent_dir, TOPLEVEL_CONSTANTS.MICROPYTHON_LIBRARY_NAME)
)

sys.path.insert(0, os.path.join(abs_path_to_parent_dir, TOPLEVEL_CONSTANTS.CLUE_DIR))

from microbit.__model.microbit_model import __mb as mb
from microbit.__model.constants import MICROBIT

Expand Down

0 comments on commit b0ecb2d

Please sign in to comment.