Mercurial > hg > orthanc-tests
changeset 43:5f3bcdde2461
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 13:02:43 +0200 |
parents | 4fa03fcbff5e |
children | ffa542cce638 |
files | Database/Lua/TransferSyntaxEnable.lua Tests/Tests.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Database/Lua/TransferSyntaxEnable.lua Tue Aug 25 12:09:47 2015 +0200 +++ b/Database/Lua/TransferSyntaxEnable.lua Tue Aug 25 13:02:43 2015 +0200 @@ -25,5 +25,3 @@ function IsRleTransferSyntaxAccepted(aet, ip) return true end - -print('All special transfer syntaxes are now accepted')
--- a/Tests/Tests.py Tue Aug 25 12:09:47 2015 +0200 +++ b/Tests/Tests.py Tue Aug 25 13:02:43 2015 +0200 @@ -62,6 +62,7 @@ def UninstallLuaCallbacks(): DoPost(_REMOTE, '/tools/execute-script', 'function OnStoredInstance() end', 'application/lua') + InstallLuaScript('Lua/TransferSyntaxEnable.lua') def CompareLists(a, b): @@ -1850,6 +1851,7 @@ self.assertRaises(Exception, storescu) self.assertEqual(0, len(DoGet(_REMOTE, '/patients'))) InstallLuaScript('Lua/TransferSyntaxEnable.lua') + DoPost(_REMOTE, '/tools/execute-script', "print('All special transfer syntaxes are now accepted')") storescu() self.assertEqual(1, len(DoGet(_REMOTE, '/patients')))