def testGetHeaderArchitectureMacIntel(self): self.assertEqual(client_api.getHeaderArchitecture('Darwin_x86-gcc3-u-ppc-i386', 'Firefox Intel Mac'), 'Intel')
def testGetHeaderArchitectureMacPPC(self): self.assertEqual(client_api.getHeaderArchitecture('Darwin_ppc-gcc3-u-ppc-i386', 'Firefox PPC Mac'), 'PPC')
def testGetHeaderArchitectureWindows(self): self.assertEqual(client_api.getHeaderArchitecture('WINNT_x86-msvc', 'Firefox Intel Windows'), 'Intel')