salt/tests/unit/simple_test.py
rallytime ceefb6e34c Rename tests.unit.simple to tests.unit.simple_test
These tests are not getting run automatically in a ./runtests.py -u
or on Jenkins runs. This name changes allows them to run automatically.
2016-07-07 17:12:27 -06:00

24 lines
497 B
Python

# -*- coding: utf-8 -*-
# Import Python libs
from __future__ import absolute_import
# Import Salt Testing libs
from salttesting import TestCase, expectedFailure
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../')
class SimpleTest(TestCase):
def test_success(self):
assert True
@expectedFailure
def test_fail(self):
assert False
if __name__ == '__main__':
from integration import run_tests
run_tests(SimpleTest, needs_daemon=False)