X-Git-Url: http://users.mur.at/ms/git/gitweb/?a=blobdiff_plain;f=aces_1.0.0%2Fpython%2Faces_ocio%2Ftests%2Ftests_aces_config.py;fp=aces_1.0.0%2Fpython%2Faces_ocio%2Ftests%2Ftests_aces_config.py;h=229c880dae7e6afbc6a693da14316702a5b37e10;hb=334e8bd4d18f6b4ad0bd616638f349825e9610b8;hp=8814e90a259850e2564dc05cb012d65efc99a9f9;hpb=d815605e42c964ddb306e32506caaa077b3cf160;p=OpenColorIO-Configs.git diff --git a/aces_1.0.0/python/aces_ocio/tests/tests_aces_config.py b/aces_1.0.0/python/aces_ocio/tests/tests_aces_config.py index 8814e90..229c880 100644 --- a/aces_1.0.0/python/aces_ocio/tests/tests_aces_config.py +++ b/aces_1.0.0/python/aces_ocio/tests/tests_aces_config.py @@ -99,11 +99,12 @@ class TestACESConfig(unittest.TestCase): hashes = {} for path in files_walker(directory, filters_in=filters_in, - filters_out=filters_out): + filters_out=filters_out, + flags=flags): with open(path) as file: - hash = hashlib.md5( + digest = hashlib.md5( re.sub('\s', '', file.read())).hexdigest() - hashes[path.replace(directory, '')] = hash + hashes[path.replace(directory, '')] = digest return hashes def test_ACES_config(self):