mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 04:47:14 +00:00
Monotone-Parent: 16e84a4b9506eba9d39a96290c969eda838704a2
Monotone-Revision: e9d4010d6c952c0aa503fa4571a589fb91c356b5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-07-13T16:02:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
d7d107a8cc
commit
10059831ab
11 files changed
+56
-11
No files matched your search
@@ -3,6 +3,7 @@
|
||||
from config import hostname, port, username, password
|
||||
|
||||
import sys
|
||||
import sogotests
|
||||
import unittest
|
||||
import webdavlib
|
||||
import time
|
||||
@@ -19,6 +20,7 @@ class WebdavSyncTest(unittest.TestCase):
|
||||
self.client.execute(delete)
|
||||
|
||||
def test(self):
|
||||
"""webdav sync"""
|
||||
# missing tests:
|
||||
# invalid tokens: negative, non-numeric, > current timestamp
|
||||
# non-empty collections: token validity, status codes for added,
|
||||
@@ -63,4 +65,4 @@ class WebdavSyncTest(unittest.TestCase):
|
||||
self.assertTrue(token > 0)
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
sogotests.runTests()
|
||||
Reference in new issue
Block a user