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