Skip to content

Commit

Permalink
Add another failing test just to round it out.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed May 7, 2014
1 parent ee746da commit aa637a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions taskw/test/test_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ def test_append_when_absent(self):
self.task['annotations'].append('awesome')
self.assertEqual(self.task['annotations'], ['awesome'])

def test_append_when_absent_but_with_tags(self):
self.task = Task({'uuid': str(uuid.uuid4()), 'description': 'Test'})
self.task['tags'].append('awesome')
self.assertEqual(self.task['tags'], ['awesome'])

def test_marks_date_changed(self):
original_due_date = self.task['due']
new_due_date = datetime.datetime.now().replace(tzinfo=pytz.UTC)
Expand Down

0 comments on commit aa637a9

Please sign in to comment.