aboutsummaryrefslogtreecommitdiffstats
path: root/tests.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2018-03-08 09:58:30 +0200
committerFilipp Lepalaan <filipp@mac.com>2018-03-08 09:58:30 +0200
commita96902b13e48c4c3d8badf9c02d19c0694a95685 (patch)
tree56b8e3f17cc799cf30b54dd6533d825aceb29f14 /tests.py
parent9efb1646e5aeba6287b9909050e85f13bc59271e (diff)
downloadmachammer-a96902b13e48c4c3d8badf9c02d19c0694a95685.tar.gz
machammer-a96902b13e48c4c3d8badf9c02d19c0694a95685.tar.bz2
machammer-a96902b13e48c4c3d8badf9c02d19c0694a95685.zip
Use mount() in mount_and_install
Diffstat (limited to 'tests.py')
-rwxr-xr-xtests.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests.py b/tests.py
index e860cfc..95288b7 100755
--- a/tests.py
+++ b/tests.py
@@ -144,6 +144,15 @@ class AppsTestCase(TestCase):
self.assertTrue(len(results) > 10)
+class InstallerTestCase(TestCase):
+ def setUp(self):
+ self.pkg = os.getenv('MH_PKG')
+ self.image = os.getenv('MH_IMAGE')
+
+ def test_mount_and_install(self):
+ functions.mount_and_install(self.image, self.pkg)
+
+
class MountTestCase(TestCase):
def setUp(self):
self.mp = None