Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaith committed Apr 25, 2016
1 parent 3bad428 commit fb1b168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion talks/core/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ def test_data(self):
'description': ''}]
data = renderer.render(events)
cal = Calendar.from_ical(data)
print cal.subcomponents[1]
self.assertEquals(len(cal.subcomponents), 2)
self.assertEquals(cal.subcomponents[0]['SUMMARY'], 'Talk 1')
self.assertEquals(cal.subcomponents[0]['DESCRIPTION'], 'Description')
self.assertEquals(cal.subcomponents[0]['URL'], 'http://oxtalks.com/test/1')
self.assertEquals(cal.subcomponents[1]['SUMMARY'], 'Talk 2')
self.assertEquals(cal.subcomponents[1]['DESCRIPTION'], '')
self.assertEquals(cal.subcomponents[1]['URL'], 'http://oxtalks.com/test/2')

def test_event_to_ics(self):
Expand Down

0 comments on commit fb1b168

Please sign in to comment.