diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-10-27 12:23:18 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-10-27 12:23:18 +0300 |
commit | b45a90055e8c2365ce305534d8475b04c8d0364c (patch) | |
tree | c075c7ec4b7a6ea14de2e9b9078fe2d5d4fdd297 | |
parent | 8c33675b1e0b2b07d538f17afc84e7ed691154ca (diff) | |
download | machammer-b45a90055e8c2365ce305534d8475b04c8d0364c.tar.gz machammer-b45a90055e8c2365ce305534d8475b04c8d0364c.tar.bz2 machammer-b45a90055e8c2365ce305534d8475b04c8d0364c.zip |
Updated tests
-rwxr-xr-x | tests.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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') |