From 9e2f40fa767bd553359a09c4bcbf801bcc560044 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Thu, 21 Jan 2021 10:46:11 +0000
Subject: [PATCH] TEST: Additional potential dcm2niix output

---
 tests/test_dicom.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/tests/test_dicom.py b/tests/test_dicom.py
index dba678f48..50dc56e8c 100644
--- a/tests/test_dicom.py
+++ b/tests/test_dicom.py
@@ -130,7 +130,8 @@ def test_scanDir():
         for s in series:
             assert s['PatientName'] in ('MCCARTHY_PAUL',
                                         'MCCARTHY^PAUL',
-                                        'MCCARTHY_PAUL_2')
+                                        'MCCARTHY_PAUL_2',
+                                        'MCCARTHY^PAUL^2')
 
 
 def test_sersiesCRC():
@@ -183,11 +184,13 @@ def test_loadSeries():
                     assert img[:].shape               == expShape
                     assert img.getMeta('PatientName') in ('MCCARTHY_PAUL',
                                                           'MCCARTHY^PAUL',
-                                                          'MCCARTHY_PAUL_2')
+                                                          'MCCARTHY_PAUL_2',
+                                                          'MCCARTHY^PAUL^2')
                     assert 'PatientName'                      in img.metaKeys()
                     assert 'MCCARTHY_PAUL'                    in img.metaValues() or \
                            'MCCARTHY^PAUL'                    in img.metaValues() or \
                            'MCCARTHY_PAUL_2'                  in img.metaValues()
                     assert ('PatientName', 'MCCARTHY_PAUL')   in img.metaItems() or \
                            ('PatientName', 'MCCARTHY^PAUL')   in img.metaItems() or \
-                           ('PatientName', 'MCCARTHY_PAUL_2') in img.metaItems()
+                           ('PatientName', 'MCCARTHY_PAUL_2') in img.metaItems() or \
+                           ('PatientName', 'MCCARTHY^PAUL^2') in img.metaItems()
-- 
GitLab