Skip to content

Pythonify and enhance the tests. #14

Merged
screeley merged 3 commits intoembedly:masterfrom
joncotton:tidy
Jun 17, 2013
Merged

Pythonify and enhance the tests. #14
screeley merged 3 commits intoembedly:masterfrom
joncotton:tidy

Conversation

@joncotton
Copy link
Copy Markdown
Contributor

Commit messages are pretty clear. Basic Pythonifying of the tests along with a few new tests.

joncotton added 3 commits May 16, 2013 15:28
…does. Remove the `original_url` from the test to avoid confusion.

Note: working with __getattr__ and __setattr__ this way is problematic. Those attributes exist on the Url class, not AttrDict. So while this is an improvement, it's perpetuating bad behavior.
- break out and add some new tests
- use assertEqual()
- use setUp() instead of __init__()
- remove the ValueError on missing self.key that will never be reached
- use assertRaises() for exception testing
screeley added a commit that referenced this pull request Jun 17, 2013
Pythonify and enhance the tests.
@screeley screeley merged commit 1ad7a56 into embedly:master Jun 17, 2013
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