Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: tools/telemetry/telemetry/core/util_unittest.py

Issue 321773002: [PowerProfiler] Make sure correct version of pySerial is imported with monsoon profiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/core/util_unittest.py
diff --git a/tools/telemetry/telemetry/core/util_unittest.py b/tools/telemetry/telemetry/core/util_unittest.py
index 05df311add92e3cd88288185694dbfc19e946b2a..2e8a35b2f0c47fb6e705f1de1d88b2584bae4a2b 100644
--- a/tools/telemetry/telemetry/core/util_unittest.py
+++ b/tools/telemetry/telemetry/core/util_unittest.py
@@ -62,3 +62,8 @@ class TestGetSequentialFileName(unittest.TestCase):
def tearDown(self):
shutil.rmtree(self.test_directory)
+
+class PySerialVersionTest(unittest.TestCase):
qsr 2014/06/11 12:24:21 Don't you need to call AddDirToPythonPath? Is it o
vivekg 2014/06/11 12:41:41 Yes you are right. We should call AddDirToPythonPa
qsr 2014/06/11 13:23:38 If your test was not failing, it is probably not t
+ def testPySerialVersion(self):
+ import serial
+ self.assertEqual(serial.VERSION, '2.7')
« tools/telemetry/telemetry/core/util.py ('K') | « tools/telemetry/telemetry/core/util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698