浏览代码

Update the test_sink script

The recent additions to the SinkConfig class broke it, so this commit
makes it work again.
Clara Hobbs 6 年前
父节点
当前提交
4f82d513a0
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4
    2
      pdbuddy/tools/test_sink.py

+ 4
- 2
pdbuddy/tools/test_sink.py 查看文件

@@ -63,9 +63,11 @@ def main():
63 63
 
64 64
     # Define configurations for testing
65 65
     cfg_20v = pdbuddy.SinkConfig(status=pdbuddy.SinkStatus.VALID,
66
-            flags=pdbuddy.SinkFlags.NONE, v=20000, i=1000)
66
+            flags=pdbuddy.SinkFlags.NONE, v=20000, vmin=None, vmax=None,
67
+            i=1000, idim=pdbuddy.SinkDimension.CURRENT)
67 68
     cfg_9v = pdbuddy.SinkConfig(status=pdbuddy.SinkStatus.VALID,
68
-            flags=pdbuddy.SinkFlags.NONE, v=9000, i=1000)
69
+            flags=pdbuddy.SinkFlags.NONE, v=9000, vmin=None, vmax=None, i=1000,
70
+            idim=pdbuddy.SinkDimension.CURRENT)
69 71
 
70 72
     # Run the testing procedure
71 73
     with pdbuddy.Sink(args.tty) as sink:

正在加载...
取消
保存