Extra test
This commit is contained in:
parent
b5217b9eed
commit
c9e64a2906
@ -53,7 +53,10 @@ class TestClient(TestCase):
|
||||
c.logger = logging.getLogger('resync.client')
|
||||
self.assertRaises( ClientFatalError, c.update_resource, resource, filename )
|
||||
# get from file uri
|
||||
resource = Resource(uri='tests/testdata/examples_from_spec/resourcesync_ex_1.xml')
|
||||
resource = Resource(uri='tests/testdata/examples_from_spec/resourcesync_ex_1.xml',
|
||||
length=355, md5='abc',
|
||||
timestamp=10)
|
||||
c.last_timestamp = 0
|
||||
with LogCapture() as lc:
|
||||
c.logger = logging.getLogger('resync.client')
|
||||
n = c.update_resource( resource, filename )
|
||||
|
||||
Loading…
Reference in New Issue
Block a user