Mercurial > hg > orthanc-tests
changeset 526:3112c7f2326e
merge
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Apr 2023 12:01:23 +0200 |
parents | b60a0cc28c34 (current diff) 0699890b9961 (diff) |
children | 86456045ac80 |
files | Tests/Tests.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Tests/Tests.py Tue Apr 11 20:53:05 2023 +0200 +++ b/Tests/Tests.py Wed Apr 12 12:01:23 2023 +0200 @@ -9505,6 +9505,12 @@ self.assertEqual(1, len(Execute([ 'a', 'b' ], 'All'))) self.assertEqual(1, len(Execute([ 'a', 'b' ], 'Any'))) self.assertEqual(0, len(Execute([ 'a', 'b' ], 'None'))) + self.assertEqual(0, len(Execute([ 'b', 'c' ], 'All'))) + self.assertEqual(1, len(Execute([ 'b', 'c' ], 'Any'))) + self.assertEqual(0, len(Execute([ 'b', 'c' ], 'None'))) + self.assertEqual(0, len(Execute([ 'c', 'd' ], 'All'))) + self.assertEqual(0, len(Execute([ 'c', 'd' ], 'Any'))) + self.assertEqual(1, len(Execute([ 'c', 'c' ], 'None'))) DoDelete(_REMOTE, '/instances/%s/labels/a' % u) # The instance has label "b"