From bc1b4a0da9e39bde2fb9326ac14913f57e50e50b Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Tue, 3 Sep 2019 14:23:11 +0100
Subject: [PATCH] TEST: Test present but empty, and test absent

---
 tests/test_atlases.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/tests/test_atlases.py b/tests/test_atlases.py
index 9fd37c229..1c7abc0df 100644
--- a/tests/test_atlases.py
+++ b/tests/test_atlases.py
@@ -149,9 +149,8 @@ def test_AtlasDescription():
 def test_StatisticHeader():
     with tests.testdir() as testdir:
         hdr = '<statistic>T</statistic>' \
-              '<units>M</units>' \
+              '<units></units>' \
               '<precision>3</precision>' \
-              '<lower>15</lower>' \
               '<upper>75</upper>'
         xmlfile = _make_dummy_atlas(testdir,
                                     'statlas',
@@ -163,9 +162,9 @@ def test_StatisticHeader():
         desc = atlases.AtlasDescription(xmlfile, 'StAtlas')
         assert desc.atlasType == 'statistic'
         assert desc.statistic == 'T'
-        assert desc.units     == 'M'
+        assert desc.units     == ''
         assert desc.precision == 3
-        assert desc.lower     == 15
+        assert desc.lower     == 0
         assert desc.upper     == 75
 
 
-- 
GitLab