summaryrefslogtreecommitdiffstats
path: root/python/mach/mach/test/providers/conditions_invalid.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mach/mach/test/providers/conditions_invalid.py')
-rw-r--r--python/mach/mach/test/providers/conditions_invalid.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/mach/mach/test/providers/conditions_invalid.py b/python/mach/mach/test/providers/conditions_invalid.py
new file mode 100644
index 0000000000..228c56f0bf
--- /dev/null
+++ b/python/mach/mach/test/providers/conditions_invalid.py
@@ -0,0 +1,10 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+from mach.decorators import Command
+
+
+@Command("cmd_foo", category="testing", conditions=["invalid"])
+def run_foo(command_context):
+ pass