Skip to content Skip to sidebar Skip to footer
Showing posts with the label Nose

Is There A Way For A Python Nose Test To Know Its Decorated Attributes?

I have some tests like: @attr('sanity', 'someothertag') def test_this_important_fea… Read more Is There A Way For A Python Nose Test To Know Its Decorated Attributes?

Is There A Downside For Using __init__(self) Instead Of Setup(self) For A Nose Test Class?

Running nosetests -s for class TestTemp(): def __init__(self): print '__init__'… Read more Is There A Downside For Using __init__(self) Instead Of Setup(self) For A Nose Test Class?

How Should I Verify A Log Message When Testing Python Code Under Nose?

I'm trying to write a simple unit test that will verify that, under a certain condition, a clas… Read more How Should I Verify A Log Message When Testing Python Code Under Nose?