1#!/usr/bin/python 2# 3# Copyright 2010 Google Inc. All Rights Reserved. 4"""Machine manager unittest. 5 6MachineManagerTest tests MachineManager. 7""" 8 9__author__ = 'asharif@google.com (Ahmad Sharif)' 10 11import machine 12import unittest 13 14 15class MachineTest(unittest.TestCase): 16 17 def setUp(self): 18 pass 19 20 def testPrintMachine(self): 21 mach = machine.Machine('ahmad.mtv', 'core2duo', 4, 'linux', 'asharif') 22 self.assertTrue('ahmad.mtv' in str(mach)) 23 24 25if __name__ == '__main__': 26 unittest.main() 27