summaryrefslogtreecommitdiffstats
path: root/python/mach/mach/test/providers/conditions_invalid.py
blob: 22284d4dcad5e125aa4573bc5889698756ed2b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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 __future__ import unicode_literals

from mach.decorators import (
    CommandProvider,
    Command,
)

@CommandProvider
class ConditionsProvider(object):
    @Command('cmd_foo', category='testing', conditions=["invalid"])
    def run_foo(self):
        pass