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.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/morphlib/util_tests.py b/morphlib/util_tests.py
index 5b1d5e88..6637f571 100644
--- a/morphlib/util_tests.py
+++ b/morphlib/util_tests.py
@@ -19,6 +19,14 @@ import unittest
import morphlib
+class ArchTests(unittest.TestCase):
+
+ def test(self):
+ arch = morphlib.util.arch()
+ self.assertEqual(type(arch), str)
+ self.assertNotEqual(arch, '')
+
+
class IndentTests(unittest.TestCase):
def test_returns_empty_string_for_empty_string(self):