aboutsummaryrefslogtreecommitdiff
path: root/deprecated/automation/common/machine_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'deprecated/automation/common/machine_test.py')
-rwxr-xr-xdeprecated/automation/common/machine_test.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/deprecated/automation/common/machine_test.py b/deprecated/automation/common/machine_test.py
new file mode 100755
index 00000000..f66299f5
--- /dev/null
+++ b/deprecated/automation/common/machine_test.py
@@ -0,0 +1,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()