summaryrefslogtreecommitdiff
path: root/python/python_test.go
diff options
context:
space:
mode:
author Liz Kammer <eakammer@google.com> 2020-07-28 16:15:56 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-07-28 16:15:56 +0000
commit8ffde8c9d51810b3090ea85ccba415c9f4641afa (patch)
tree0cdd7b5f638ada4152194b4e6dac871ba8842c4f /python/python_test.go
parent75117fcdd05cb73e08b9b4647ed634a266b69eab (diff)
parentdd849a81f30d38db789499e1e404def6d3f71783 (diff)
Merge "Add `data_native_bins` property to java_test_host"
Diffstat (limited to 'python/python_test.go')
-rw-r--r--python/python_test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/python/python_test.go b/python/python_test.go
index 1245ca184..23db24e8f 100644
--- a/python/python_test.go
+++ b/python/python_test.go
@@ -301,7 +301,7 @@ var (
filepath.Join("dir", "file2.py"): nil,
filepath.Join("dir", "bin.py"): nil,
filepath.Join("dir", "file4.py"): nil,
- stubTemplateHost: []byte(`PYTHON_BINARY = '%interpreter%'
+ StubTemplateHost: []byte(`PYTHON_BINARY = '%interpreter%'
MAIN_FILE = '%main%'`),
},
expectedBinaries: []pyModule{
@@ -330,9 +330,7 @@ func TestPythonModule(t *testing.T) {
t.Run(d.desc, func(t *testing.T) {
config := android.TestConfig(buildDir, nil, "", d.mockFiles)
ctx := android.NewTestContext()
- ctx.PreDepsMutators(func(ctx android.RegisterMutatorsContext) {
- ctx.BottomUp("version_split", versionSplitMutator()).Parallel()
- })
+ ctx.PreDepsMutators(RegisterPythonPreDepsMutators)
ctx.RegisterModuleType("python_library_host", PythonLibraryHostFactory)
ctx.RegisterModuleType("python_binary_host", PythonBinaryHostFactory)
ctx.RegisterModuleType("python_defaults", defaultsFactory)