diff Tests/Tests.py @ 104:7530eb50c3c4

renamed HttpPost.lua into HttpClient.lua + fix tests
author amazy
date Thu, 02 Mar 2017 20:10:03 +0100
parents 9671578fd4d3
children fddb35f7289d
line wrap: on
line diff
--- a/Tests/Tests.py	Thu Feb 02 21:11:19 2017 +0100
+++ b/Tests/Tests.py	Thu Mar 02 20:10:03 2017 +0100
@@ -3137,8 +3137,8 @@
         CompareMainDicomTag('world', a, 'series', 'SeriesDescription')
         CompareMainDicomTag('1.2.840.113619.2.176.2025.1499492.7040.1171286242.109', a, '', 'SOPInstanceUID')
 
-    def test_httpPost_lua(self):
-        with open(GetDatabasePath('Lua/HttpPost.lua'), 'r') as f:
+    def test_httpClient_lua(self):
+        with open(GetDatabasePath('Lua/HttpClient.lua'), 'r') as f:
             result = DoPost(_REMOTE, '/tools/execute-script', f.read(), 'application/lua')
 
         self.assertIn('OK', result)