aboutsummaryrefslogtreecommitdiff
path: root/deprecated/automation/common/machine_test.py
blob: f66299f5adc05eae8df2ae408242c41b27ab3d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
"""Machine manager unittest.

MachineManagerTest tests MachineManager.
"""

__author__ = 'asharif@google.com (Ahmad Sharif)'

import machine
import unittest


class MachineTest(unittest.TestCase):

  def setUp(self):
    pass

  def testPrintMachine(self):
    mach = machine.Machine('ahmad.mtv', 'core2duo', 4, 'linux', 'asharif')
    self.assertTrue('ahmad.mtv' in str(mach))


if __name__ == '__main__':
  unittest.main()