~cmiller/desktopcouch/service-exits-properly

« back to all changes in this revision

Viewing changes to desktopcouch/records/tests/test_record.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:
21
21
 
22
22
import doctest
23
23
import os
24
 
from testtools import TestCase
 
24
 
25
25
from collections import MutableSequence, MutableMapping
26
26
 
27
27
import desktopcouch
 
28
import desktopcouch.application.tests as test_environment
 
29
 
 
30
from desktopcouch.application.tests import TestCase
28
31
from desktopcouch.application.server import DesktopDatabase
29
32
from desktopcouch.records import (
30
33
    Record, RecordDict, MergeableList, record_factory, IllegalKeyException,
31
34
    validate, NoRecordTypeSpecified, is_mergeable_list)
32
 
import desktopcouch.application.tests as test_environment
33
35
 
34
36
 
35
37
class TestRecordDict(TestCase):