Skip to content

Conversation

@AlexRiina
Copy link
Contributor

No description provided.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding an external dependency, which you may want to avoid.

Since nose doesn't allow you to generate unittests on a TestCase class with yield, I used nose-parameterized to do the test generation for me. The previous revision, however, keeps the original assert style but moves the tests to the module level so the test generation will work.

pablohoffman added a commit that referenced this pull request Aug 26, 2013
Simplifying the test_extraction code and a few clean ups
@pablohoffman pablohoffman merged commit 7b6951f into scrapy:master Aug 26, 2013
@pablohoffman
Copy link
Member

Thanks @AlexRiina, it's definitely a good cleanup. I hope you are just setting up the environment in preparation for more contributions :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants