summaryrefslogtreecommitdiff
path: root/morphlib/util_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/util_tests.py')
-rw-r--r--morphlib/util_tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/morphlib/util_tests.py b/morphlib/util_tests.py
index ca9fe5ae..2ad9e8aa 100644
--- a/morphlib/util_tests.py
+++ b/morphlib/util_tests.py
@@ -105,3 +105,8 @@ class ParseEnvironmentPairsTests(unittest.TestCase):
morphlib.util.parse_environment_pairs,
{"foo": "bar"},
["foo=bar"])
+
+ def test_sanitize_environment(self):
+ d = { 'a': 1 }
+ morphlib.util.sanitize_environment(d)
+ self.assertTrue(isinstance(d['a'], str))