aboutsummaryrefslogtreecommitdiffstats
path: root/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests.py')
-rwxr-xr-xtests.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests.py b/tests.py
index 95288b7..c85ac26 100755
--- a/tests.py
+++ b/tests.py
@@ -137,12 +137,18 @@ class AppsTestCase(TestCase):
def testStickiesVersion(self):
results = self.profile.find('_name', 'Stickies')
- self.assertEquals(results[0]['version'], '10.0')
+ if functions.os_version() >= 10.13:
+ self.assertEqual(results[0]['version'], '10.1')
+ else:
+ self.assertEqual(results[0]['version'], '10.0')
def testFindApplications(self):
results = self.profile.find('path', '/Applications')
self.assertTrue(len(results) > 10)
+ def testSystemVersion(self):
+ self.assertLess(functions.os_version(), 10.14)
+
class InstallerTestCase(TestCase):
def setUp(self):