from unittest import TestCase
from ..dock_dodger import OSXDodger


class OSXDockDodgerTests(TestCase):
    def test_applications_folder_is_correct(self):
        """
        Test that the applications folder is
        indeed `/Applications/`
        """
        expected = "/Applications/"
        result = OSXDodger().app_dir
        self.assertEqual(result, expected)

@@ -365,8 +365,273 @@
 pected)%0A
+%0A    def test_allowed_system_is_mac(self):%0A        %22%22%22%0A        Allowed system to run this script should be%0A        a machine running on OS X%0A        %22%22%22%0A        expected = %22darwin%22%0A        result = OSXDodger().allowed_sys%0A        self.assertEqual(result, expected)%0A

Test that the anly allowed system to execute this script is OS X