Mercurial > hg > orthanc-tests
diff Tests/Tests.py @ 207:a515eec74078
test_invalid_findscp
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Jan 2019 14:22:47 +0100 |
parents | f26f9ae9c599 |
children | 2444c9a7c422 |
line wrap: on
line diff
--- a/Tests/Tests.py Fri Jan 18 19:21:30 2019 +0100 +++ b/Tests/Tests.py Wed Jan 23 14:22:47 2019 +0100 @@ -4309,3 +4309,9 @@ z = GetArchive(_REMOTE, '/patients/%s/media' % a) self.assertEqual(2, len(z.namelist())) + + + def test_invalid_findscp(self): + UploadInstance(_REMOTE, 'DummyCT.dcm') + findscu = CallFindScu([ '-S', '-k', '8,52=IMAGE', '-k', '8,16', '-k', '2,2' ]) + self.assertEqual(0, len(re.findall('\(0002,0002\)', findscu)))