diff --git a/.github/workflows/build_houdini.yml b/.github/workflows/build_houdini.yml index 878a953..1d48fe3 100644 --- a/.github/workflows/build_houdini.yml +++ b/.github/workflows/build_houdini.yml @@ -52,6 +52,9 @@ jobs: - name: Build USD Python Resolver run: | .github/scripts/houdini_build.sh pythonResolver + - name: Build USD Cached Resolver + run: | + .github/scripts/houdini_build.sh cachedResolver - name: Build USD Http Resolver run: | .github/scripts/houdini_build.sh httpResolver @@ -100,6 +103,9 @@ jobs: - name: Build USD Python Resolver run: | .\.github\scripts\houdini_build.bat pythonResolver + - name: Build USD Cached Resolver + run: | + .\.github\scripts\houdini_build.bat cachedResolver - name: Build USD Http Resolver run: | .\.github\scripts\houdini_build.bat httpResolver diff --git a/src/CachedResolver/PythonExpose.py b/src/CachedResolver/PythonExpose.py index dfcd109..5061b3a 100644 --- a/src/CachedResolver/PythonExpose.py +++ b/src/CachedResolver/PythonExpose.py @@ -31,10 +31,10 @@ class UnitTestHelper: current_directory_path = "" @classmethod - def reset(cls): + def reset(cls, current_directory_path=""): cls.context_initialize_call_counter = 0 cls.resolve_and_cache_call_counter = 0 - cls.current_directory_path = "" + cls.current_directory_path = current_directory_path class ResolverContext: @staticmethod