changeset 330:de8f7a80eed1 Orthanc-1.7.3

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 24 Aug 2020 07:22:08 +0200
parents 194e3cfa200f
children 32692c1d153c
files Plugins/Transfers/Run.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Transfers/Run.py	Sun Aug 23 20:05:09 2020 +0200
+++ b/Plugins/Transfers/Run.py	Mon Aug 24 07:22:08 2020 +0200
@@ -98,7 +98,7 @@
 
     def test_list_peers(self):
         peers = DoGet(ORTHANC, '/transfers/peers')
-        self.assertEqual(3, len(peers))
+        self.assertEqual(4, len(peers)) # "self" peer was added in Orthanc 1.7.3
         self.assertEqual('disabled', peers['peer'])
         self.assertEqual('installed', peers['transfers-simple'])
         self.assertEqual('bidirectional', peers['transfers-bidirectional'])