示例#1
0
def test_catchskip():
    """Tests that a properly decorated method is skipped - this must be run..."""
    assert True
    Utils.skip(
        "This method should be skipped, as it is testing skipping methods")
    raise AssertionError("This test should have been skipped")
示例#2
0
def test_skiptest():
    """checks that this method will be skipped"""
    assert True
    Utils.skip(
        "This method should be skipped, as it is testing skipping methods")
    raise AssertionError("This test should have been skipped")
示例#3
0
def test_catchskip():
    """Tests that a properly decorated method is skipped - this must be run..."""
    assert True
    Utils.skip("This method should be skipped, as it is testing skipping methods")
    raise AssertionError("This test should have been skipped")
示例#4
0
def test_skiptest():
    """checks that this method will be skipped"""
    assert True
    Utils.skip("This method should be skipped, as it is testing skipping methods")
    raise AssertionError("This test should have been skipped")
示例#5
0
 def skipmeth(self):
     Utils.skip(message)
示例#6
0
 def skipmeth(self):
     Utils.skip(message)