Ran update_copyright.py.
[hooke.git] / test / block_info.py
index 28780cdd990afdf3bea0152056595077a5f7aacd..e3d19117bcaa3ef9c8e27eac6c18ca6588d9eff2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2010-2012 W. Trevor King <wking@drexel.edu>
 #
 # This file is part of Hooke.
 #
@@ -31,12 +31,12 @@ Success
 >>> block_info_already_exists = os.path.exists(file_name)
 >>> block_info_already_exists
 False
->>> h = r.run_lines(h, ['block_info --output %s name columns "raw info.file*"'
+>>> h = r.run_lines(h, ['block_info --output %s name columns "raw info.Scanner list.Serial n*"'
 ...                     % file_name]) # doctest: +ELLIPSIS, +REPORT_UDIFF
 {'columns': ['z piezo (m)', 'deflection (m)'],
  'index': 0,
  'name': 'approach',
- 'raw info': {'filetype': 'picoforce'}}
+ 'raw info': {'Scanner list': {'Serial number': '196PF'}}}
 Success
 <BLANKLINE>
 >>> with open(file_name, 'r') as f:
@@ -49,7 +49,8 @@ picoforce.000:
     columns: [z piezo (m), deflection (m)]
     index: 0
     name: approach
-    raw info: {filetype: picoforce}
+    raw info:
+      Scanner list: {Serial number: 196PF}
   path: .../test/data/picoforce.000
 <BLANKLINE>
 """