~cmiller/desktopcouch/disable-stats-lp746367

« back to all changes in this revision

Viewing changes to desktopcouch/application/tests/test_replication.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:
1
1
"""testing desktopcouch/start_local_couchdb.py module"""
2
2
 
3
 
import testtools
4
 
 
5
3
import desktopcouch.application.tests as test_environment
 
4
import desktopcouch
 
5
 
 
6
from desktopcouch.application.tests import TestCase
6
7
from desktopcouch.application.replication_services import ubuntuone
7
 
import desktopcouch
8
 
 
9
 
 
10
 
class TestReplication(testtools.TestCase):
 
8
 
 
9
 
 
10
class TestReplication(TestCase):
11
11
    """Testing that the database/designdoc filesystem loader works"""
12
12
 
13
13
    def setUp(self):
25
25
        # XXX: assert something.
26
26
 
27
27
 
28
 
class TestUbuntuoneReplication(testtools.TestCase):
 
28
class TestUbuntuoneReplication(TestCase):
29
29
    """Test case for Ubuntuone replication."""
 
30
 
30
31
    def setUp(self):
31
32
        super(TestUbuntuoneReplication, self).setUp()
32
33
        self.ctx = test_environment.create_new_test_environment()