Mercurial > hg > orthanc-tests
diff Tests/Tests.py @ 595:b6c1f0c9ca15
fix test_error_codes_content_type
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 18 Dec 2023 22:27:04 +0100 |
parents | 3cb7c6162c77 |
children | 75244cf58a6d |
line wrap: on
line diff
--- a/Tests/Tests.py Mon Dec 18 10:43:41 2023 +0100 +++ b/Tests/Tests.py Mon Dec 18 22:27:04 2023 +0100 @@ -10032,7 +10032,7 @@ self.assertEqual('404', headers['status']) if IsOrthancVersionAbove(_REMOTE, 1, 12, 2): - self.assertEqual('application/json', headers['content-type']) + self.assertEqual('text/plain', headers['content-type']) (headers, body) = DoPutRaw(_REMOTE, '/system', 'hello') self.assertEqual('405', headers['status'])