import os
import re
import shutil
+import sys
+
+# TODO: Temporary ugly thing to be discussed, ideally the package should be
+# in PYTHONPATH.
+sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..'))
+
import tempfile
import unittest
# TODO: Investigate how the current config has been generated to use it for
# tests.
# REFERENCE_CONFIG_ROOT_DIRECTORY = os.path.abspath(
-# os.path.join(os.path.dirname(__file__), '..', '..'))
+# os.path.join(os.path.dirname(__file__), '..', '..', '..'))
REFERENCE_CONFIG_ROOT_DIRECTORY = '/colour-science/colour-ramblings/ocio/aces'
HASH_TEST_PATTERNS = ('\.3dl', '\.lut', '\.csp')
"""
self.assertTrue(create_ACES_config(self.__aces_ocio_ctl_directory,
- self.__temporary_directory))
+ self.__temporary_directory))
reference_hashes = self.directory_hashes(
REFERENCE_CONFIG_ROOT_DIRECTORY,