Skip to content

Commit

Permalink
fix docstring wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
lekhajee committed Jan 22, 2015
1 parent 37bf4f8 commit 7361000
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions mimic/test/test_maas.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,20 +154,20 @@ def setUp(self):
self.uri = helper.uri
self.entity_id = self.getXobjectIDfromResponse(self.createEntity('ItsAnEntity'))
self.check_id = self.getXobjectIDfromResponse(self.createCheck('ItsAcheck',
self.entity_id))
self.entity_id))
self.alarm_id = self.getXobjectIDfromResponse(self.createAlarm('ItsAnAlarm',
self.entity_id,
self.check_id))
self.entity_id,
self.check_id))
self.nt_id = self.getXobjectIDfromResponse(self.createNotification('ItsANotificationTarget'))
self.np_id = self.getXobjectIDfromResponse(self.createNotificationPlan('ItsANotificationPlan'))
self.sp_id = self.getXobjectIDfromResponse(self.createSuppression('ItsASuppression'))

def test_resource_ids(self):
"""
MAAS sets IDs for reources it created by prefixing it with
the first two characters of the resource type.
For example an entity id is prefixed with 'en'.
Test that the ids are not null and are prefixed.
MAAS sets IDs for resources it created by prefixing it with the
first two characters of the resource type.For example an entity
id is prefixed with 'en'. Test that the ids are not null and are
prefixed.
"""
self.assertNotEquals(None, self.entity_id)
self.assertTrue(self.entity_id.startswith('en'))
Expand Down

0 comments on commit 7361000

Please sign in to comment.