]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
xmlrpc: Bump version
authorStephen Finucane <stephenfinucane@hotmail.com>
Thu, 8 Sep 2016 16:28:17 +0000 (17:28 +0100)
committerStephen Finucane <stephenfinucane@hotmail.com>
Sat, 24 Sep 2016 22:58:56 +0000 (23:58 +0100)
This should have been bumped with 'c547dc7'.

Signed-off-by: Stephen Finucane <stephenfinucane@hotmail.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
patchwork/tests/test_xmlrpc.py
patchwork/views/xmlrpc.py

index 0a5e457e977b9d399c2515508fdf8568c32fa564..3b97fb19877a66612647ff21aa779fd0ab4c0fdb 100644 (file)
@@ -41,7 +41,7 @@ class XMLRPCGenericTest(XMLRPCTest):
 
     def test_pw_rpc_version(self):
         # If you update the RPC version, update the tests!
-        self.assertEqual(self.rpc.pw_rpc_version(), [1, 2, 0])
+        self.assertEqual(self.rpc.pw_rpc_version(), [1, 3, 0])
 
     def test_get_redirect(self):
         response = self.client.patch(self.url)
index 8d32a566e7ad7e365f4cf65b970d32a8730191f8..e1eeb609fb218c36a0ac87c45e3da5fb6c782393 100644 (file)
@@ -389,10 +389,17 @@ def pw_rpc_version():
     recommended that one first test the API version for compatibility
     before making method calls.
 
+    History:
+
+        1.0.0: Patchwork 1.0 release
+        1.1.0: ???
+        1.2.0: ???
+        1.3.0: Add support for negative indexing of Checks
+
     Returns:
         Version of the API.
     """
-    return (1, 2, 0)
+    return (1, 3, 0)
 
 
 @xmlrpc_method()