Beispiel #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")
Beispiel #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")
Beispiel #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")
Beispiel #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")
Beispiel #5
0
 def skipmeth(self):
     Utils.skip(message)
 def skipmeth(self):
     Utils.skip(message)