aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-10-27 12:23:18 +0300
committerFilipp Lepalaan <filipp@mac.com>2016-10-27 12:23:18 +0300
commitb45a90055e8c2365ce305534d8475b04c8d0364c (patch)
treec075c7ec4b7a6ea14de2e9b9078fe2d5d4fdd297
parent8c33675b1e0b2b07d538f17afc84e7ed691154ca (diff)
downloadmachammer-b45a90055e8c2365ce305534d8475b04c8d0364c.tar.gz
machammer-b45a90055e8c2365ce305534d8475b04c8d0364c.tar.bz2
machammer-b45a90055e8c2365ce305534d8475b04c8d0364c.zip
Updated tests
-rwxr-xr-xtests.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests.py b/tests.py
index 02bcaf3..38e436a 100755
--- a/tests.py
+++ b/tests.py
@@ -6,7 +6,7 @@ import logging
import subprocess
from unittest import main, skip, TestCase
-from machammer import network
+from machammer import network, users
from machammer import functions as mh
from machammer import system_profiler, screensaver
@@ -87,10 +87,10 @@ class FunctionsTestCase(TestCase):
mh.display_notification('blaaa "lalala"')
def test_add_login_item(self):
- mh.add_login_item(self.stickes)
+ users.add_login_item(self.stickes)
def test_remove_login_item(self):
- mh.remove_login_item(path=self.stickes)
+ users.remove_login_item(path=self.stickes)
def test_mount_image(self):
p = mh.mount_image('/Users/filipp/Downloads/AdobeFlashPlayer_22au_a_install.dmg')
@@ -109,7 +109,6 @@ class ScreenSaverTestCase(TestCase):
def test_set_flurry(self):
self.assertEquals(screensaver.set('Flurry'), None)
-
def test_get(self):
self.assertEquals(screensaver.get(), 'Flurry')