Mercurial > hg > orthanc-tests
changeset 403:e08e15befa0c
test sync POST to /archive
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 02 Jun 2021 17:42:20 +0200 |
parents | cc947ddc57c5 |
children | 931be0125954 |
files | Tests/Tests.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Tests/Tests.py Thu May 13 14:11:55 2021 +0200 +++ b/Tests/Tests.py Wed Jun 02 17:42:20 2021 +0200 @@ -600,6 +600,11 @@ 'Resources' : [ brainix, knee ] }) self.assertEqual(3, len(z.namelist())) + + z = PostArchive(_REMOTE, '/patients/%s/archive' % knee, { + 'Synchronous' : True + }) + self.assertEqual(2, len(z.namelist())) def test_media_archive(self):