|
@@ -101,6 +101,18 @@ class SinkTestCase(unittest.TestCase):
|
101
|
101
|
# essentially test_get_cfg_index.
|
102
|
102
|
self.assertIsInstance(pdbs.get_cfg(0), pdbuddy.SinkConfig)
|
103
|
103
|
|
|
104
|
+ def test_output(self):
|
|
105
|
+ try:
|
|
106
|
+ self.pdbs.output(False)
|
|
107
|
+ self.assertFalse(self.pdbs.output())
|
|
108
|
+
|
|
109
|
+ self.pdbs.output(True)
|
|
110
|
+ self.assertTrue(self.pdbs.output())
|
|
111
|
+ except KeyError:
|
|
112
|
+ self.skipTest("Command output not supported")
|
|
113
|
+ except ValueError:
|
|
114
|
+ self.skipTest("Unknown value returned by PD Buddy Sink")
|
|
115
|
+
|
104
|
116
|
|
105
|
117
|
class SinkConfigTestCase(unittest.TestCase):
|
106
|
118
|
|