Showing posts with the label nose

[FIXED] Ipdb not showing output with Django nose tests

Issue I'm running the most recent version of ipdb 0.10.0 and when I run the my django test suit…

[FIXED] Setup.py---nosetests: command not found

Issue I successfully installed nose on my laptop and try to run nosestest. However, terminal remind…

[FIXED] Why python mock patch doesn't work?

Issue I have two files spike.py class T1(object): def foo(self, afd): return "…

[FIXED] Detect missing unittests

Issue I am refactoring a legacy Python project, which did not have any unittests. Assuming a direc…

[FIXED] nosetests assertGreaterEqual

Issue I have written a unit test for a function but i cant seem to get what the error means. Here&…

[FIXED] Scrapy Unit Testing

Issue I'd like to implement some unit tests in a Scrapy (screen scraper/web crawler). Since a …

[FIXED] Getting Python's unittest results in a tearDown() method

Issue Is it possible to get the results of a test (i.e. whether all assertions have passed) in a te…

[FIXED] How to exclude a file from coverage.py?

Issue I use nosetest 's coverage.py plugin. Is it somehow possible to exclude entire files or …

[FIXED] How to get around "sys.exit()" in python nosetest?

Issue It seems that python nosetest will quit when encountered sys.exit() , and mocking of this bui…