[shotwell] test: Return image_id after upload



commit 92633a93ad474c5152c1e268ec6ebe8744a62e33
Author: Jens Georg <mail jensge org>
Date:   Thu Jan 16 11:01:27 2020 +0100

    test: Return image_id after upload

 test/server.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/test/server.py b/test/server.py
index 61da5a2f..92ce04aa 100755
--- a/test/server.py
+++ b/test/server.py
@@ -93,7 +93,7 @@ class SimpleRequestHandler(http.server.BaseHTTPRequestHandler):
                     self.send_response(200)
                     self.send_header('Set-Cookie', 'pwg_id="12345"')
                     self.end_headers()
-                    self.wfile.write(b'<?xml version="1.0"?><piwigo stat="ok"></piwigo>')
+                    self.wfile.write(b'<?xml version="1.0"?><piwigo 
stat="ok"><image_id>2387</image_id></piwigo>')
                     return
             except:
                 self.log_error('Unknown method {0}'.format(postvars[b'method']))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]