diff options
Diffstat (limited to 'tests.py')
-rwxr-xr-x | tests.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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): |