Mercurial > hg > orthanc-tests
changeset 121:1a19f953f53c
also test GenericNoWildcardInDates
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 17 Jul 2017 10:00:22 +0200 |
parents | fce08afe6b2d |
children | 80895f4961d0 |
files | Tests/Tests.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Tests/Tests.py Fri Jul 14 17:26:12 2017 +0200 +++ b/Tests/Tests.py Mon Jul 17 10:00:22 2017 +0200 @@ -1254,6 +1254,8 @@ DoPut(_REMOTE, '/modalities/tata', [ "STORESCP", "localhost", 2000, 'MedInria' ]) # check backward compatiblity with obsolete manufacturer DoDelete(_REMOTE, '/modalities/tata') DoPut(_REMOTE, '/modalities/tata', [ "STORESCP", "localhost", 2000, 'GenericNoWildcards' ]) + DoDelete(_REMOTE, '/modalities/tata') + DoPut(_REMOTE, '/modalities/tata', [ "STORESCP", "localhost", 2000, 'GenericNoWildcardInDates' ]) self.assertRaises(Exception, lambda: DoPut(_REMOTE, '/modalities/toto', [ "STORESCP", "localhost", 2000, 'InvalidManufacturerName' ])) self.assertTrue('store' in DoGet(_REMOTE, '/modalities/toto')) self.assertTrue('store' in DoGet(_REMOTE, '/modalities/tata'))