Permalink
Browse files

better docstring for test_init()

  • Loading branch information...
zupo committed Apr 5, 2012
1 parent ed110b8 commit c135c2e2d9f910a6d416a206b626432808b69252
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/spinrewriter/tests/test_api.py
@@ -12,10 +12,10 @@ def setUp(self):
self.api = Api('foo@bar.com', 'test_api_key')
def test_init(self):
- """Test that __init__ correctly stores initialization value.
+ """Test initialization of Api.
- self.api has already been initialized in setUp() so we just need to
- check for values.
+ Api is initialized on every test run and stored as self.sr. We just
+ need to test stored values.
"""
self.assertEquals(self.api.email_address, 'foo@bar.com')
self.assertEquals(self.api.api_key, 'test_api_key')

0 comments on commit c135c2e

Please sign in to comment.