Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

better docstring for test_init()

  • Loading branch information...
commit c135c2e2d9f910a6d416a206b626432808b69252 1 parent ed110b8
@zupo zupo authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/spinrewriter/tests/test_api.py
View
6 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')
Please sign in to comment.
Something went wrong with that request. Please try again.