Mercurial > hg > orthanc-tests
diff Tests/Tests.py @ 43:5f3bcdde2461
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 13:02:43 +0200 |
parents | 8fb14554b27c |
children | ffa542cce638 |
line wrap: on
line diff
--- 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')))