summaryrefslogtreecommitdiffstats
path: root/build/plugins/tests
diff options
context:
space:
mode:
authorarcadia-devtools <[email protected]>2022-06-10 01:13:52 +0300
committerarcadia-devtools <[email protected]>2022-06-10 01:13:52 +0300
commit1f0ba76cc76d92a01b47e922c28c008078844efd (patch)
treea5d87e333a485bdda66b33e0c7e93b273b525f2a /build/plugins/tests
parent369c1c09940bf144ee472ea355968b6caec7435d (diff)
intermediate changes
ref:f2c1c3c5ceddb1e8ce4f8edb02e775ebb5ec9cd7
Diffstat (limited to 'build/plugins/tests')
-rw-r--r--build/plugins/tests/fake_ymake.py2
-rw-r--r--build/plugins/tests/test_code_generator.py4
-rw-r--r--build/plugins/tests/test_ssqls.py4
3 files changed, 10 insertions, 0 deletions
diff --git a/build/plugins/tests/fake_ymake.py b/build/plugins/tests/fake_ymake.py
new file mode 100644
index 00000000000..a20d28525a8
--- /dev/null
+++ b/build/plugins/tests/fake_ymake.py
@@ -0,0 +1,2 @@
+def addparser():
+ pass
diff --git a/build/plugins/tests/test_code_generator.py b/build/plugins/tests/test_code_generator.py
index a675d9068c9..771babc0c09 100644
--- a/build/plugins/tests/test_code_generator.py
+++ b/build/plugins/tests/test_code_generator.py
@@ -1,3 +1,7 @@
+import sys
+from build.plugins.tests import fake_ymake
+sys.modules['ymake'] = fake_ymake
+
from build.plugins import code_generator
diff --git a/build/plugins/tests/test_ssqls.py b/build/plugins/tests/test_ssqls.py
index 2a1d0321092..08798b1591e 100644
--- a/build/plugins/tests/test_ssqls.py
+++ b/build/plugins/tests/test_ssqls.py
@@ -1,3 +1,7 @@
+import sys
+from build.plugins.tests import fake_ymake
+sys.modules['ymake'] = fake_ymake
+
import xml.etree.cElementTree as ET
from build.plugins import ssqls