salt/tests/simple.py
Evan Borgstrom 11cc43d22d Now that it's working let's make it a little nicer to use [GH-522]
This allows for tests to be written without too much change from the
normal unittest workflow. Now they should use the 'saltunittest'
namespace and we will need to import anything we need from the original
'unittest' or 'unittest2' namespace.
2012-01-29 10:17:51 -05:00

9 lines
195 B
Python

from saltunittest import TestCase, expectedFailure
class SimpleTest(TestCase):
def test_success(self):
assert True
@expectedFailure
def test_fail(self):
assert False