~cmiller/desktopcouch/disable-stats-lp746367

« back to all changes in this revision

Viewing changes to desktopcouch/recordtypes/tests/test_notes.py

  • Committer: Tarmac
  • Author(s): natalia.bidart at canonical, Natalia B. Bidart
  • Date: 2011-01-06 13:02:31 UTC
  • mfrom: (248.1.2 remove-testtools)
  • Revision ID: tarmac-20110106130231-ktkkjsh8x09z8cuu
Removed testtools, replaced with unittest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
"""Tests for the NoteDocument class"""
22
22
 
23
 
import testtools
24
23
from time import strftime, gmtime
 
24
from unittest import TestCase
 
25
 
25
26
from desktopcouch.recordtypes.notes import Note, NOTE_RECORD_TYPE
26
27
 
27
28
FIELDS = {
34
35
    'create_date': 'date'}
35
36
 
36
37
 
37
 
class TestNoteRecord(testtools.TestCase):
 
38
class TestNoteRecord(TestCase):
38
39
    """Test the Note Record object."""
39
40
 
40
41
    def test_note_record(self):