~ken-vandine/desktopcouch/0_4_1

« back to all changes in this revision

Viewing changes to desktopcouch/tests/test_start_local_couchdb.py

  • Committer: Tarmac
  • Author(s): Chad Miller
  • Date: 2009-09-14 21:40:54 UTC
  • mfrom: (61.1.13 trunk-0.4)
  • Revision ID: bzrdev@chad.org-20090914214054-pr2kuxm0hhyi4pzw
Add OAuth requirement to desktopcouch and require authentication.

Improve replication peer-to-peer and add replication to Ubuntu One service.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
 
72
72
    def setUp(self):
73
73
        # create temp folder with databases and design documents in
 
74
        try:
 
75
            os.mkdir(os.path.join(xdg_data, "desktop-couch"))
 
76
        except OSError:
 
77
            pass # don't worry if the folder already exists
74
78
        for d in DIRS:
75
79
            os.mkdir(os.path.join(xdg_data, "desktop-couch", d))
76
80
        for f, data in FILES.items():