This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import uuid | |
class FiberNode: | |
def __init__(self, | |
name: str, | |
child=None, | |
sibling=None): | |
self.guid = uuid.uuid4() | |
self.name = name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put this into your ./test/__init__.py | |
testdir = os.path.dirname(__file__) | |
srcdir = '../<your_project_name>' # without <>, remove that comment | |
sys.path.insert(0, os.path.abspath(os.path.join(testdir, srcdir))) |