diff options
Diffstat (limited to 'morphlib/buildsystem_tests.py')
-rw-r--r-- | morphlib/buildsystem_tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/morphlib/buildsystem_tests.py b/morphlib/buildsystem_tests.py index 5d21b8ba..6d426d8c 100644 --- a/morphlib/buildsystem_tests.py +++ b/morphlib/buildsystem_tests.py @@ -51,6 +51,11 @@ class BuildSystemTests(unittest.TestCase): def test_has_install_commands(self): self.assertEqual(self.bs['install-commands'], []) + + def test_returns_morphology_text(self): + self.bs.name = 'fake' + text = self.bs.get_morphology_text('foobar') + self.assertTrue(type(text) in (str, unicode)) class ManualBuildSystemTests(unittest.TestCase): |