Esempio n. 1
0
 def test_fake_get_platform_darwin(self):
   sys.platform = 'darwin'
   self.mox.ReplayAll()
   self.assertEqual('macosx-', stubs.fake_get_platform())
   self.mox.VerifyAll()
Esempio n. 2
0
 def test_fake_get_platform(self):
   sys.platform = 'linux2'
   self.mox.ReplayAll()
   self.assertEqual('linux-', stubs.fake_get_platform())
   self.mox.VerifyAll()