Home | History | Annotate | Download | only in tests

Lines Matching refs:getos

21 # For getos, the module under test
23 import getos
53 self.assertEqual(getos.GetSDKPath(), 'dummy')
58 self.assertEqual(getos.GetSDKPath(), os.path.dirname(TOOLS_DIR))
62 platform = getos.GetPlatform()
67 arch = getos.GetSystemArch(getos.GetPlatform())
74 platform = getos.GetPlatform()
76 with self.assertRaisesRegexp(getos.Error, expect):
77 getos.GetChromePath(platform)
80 self.assertRaises(getos.Error, getos.GetChromePath, platform)
85 platform = getos.GetPlatform()
90 chrome = getos.GetChromePath(platform)
96 platform = getos.GetPlatform()
101 with mock.patch('getos.GetChromePath') as mock_chrome_path:
103 arch = getos.GetNaClArch(platform)
125 version = getos.GetSDKVersion()