diff options
Diffstat (limited to 'python/python_test.go')
-rw-r--r-- | python/python_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/python_test.go b/python/python_test.go index bb407e465..57aaa344d 100644 --- a/python/python_test.go +++ b/python/python_test.go @@ -313,8 +313,10 @@ func TestPythonModule(t *testing.T) { t.Run(d.desc, func(t *testing.T) { ctx := blueprint.NewContext() android.RegisterTestMutators(ctx) - ctx.RegisterModuleType("python_library_host", PythonLibraryHostFactory) - ctx.RegisterModuleType("python_binary_host", PythonBinaryHostFactory) + ctx.RegisterModuleType("python_library_host", + android.ModuleFactoryAdaptor(PythonLibraryHostFactory)) + ctx.RegisterModuleType("python_binary_host", + android.ModuleFactoryAdaptor(PythonBinaryHostFactory)) ctx.MockFileSystem(d.mockFiles) _, testErrs := ctx.ParseBlueprintsFiles(bpFile) fail(t, testErrs) |