コード例 #1
0
 def test_it_sets_and_gets_strip0_mute_on(self):
     tests.set('Strip[0].Mute', 1)
     assert_equal(tests.get('Strip[0].Mute'), 1.0)
コード例 #2
0
 def test_it_gets_strip0_mute_off(self):
     tests.set('Strip[0].Mute', 0)       
     for i in range(10):
         assert_equal(tests.get('Strip[0].Mute'), 0.0)
コード例 #3
0
 def test_it_sets_and_gets_strip2_label_test2(self):
     tests.set('Strip[2].label', 'test2')
     assert_equal(tests.get('Strip[2].label', string=True), 'test2')
コード例 #4
0
 def test_it_sets_and_gets_strip1_label_test1(self):
     tests.set('Strip[1].label', 'test1')
     assert_equal(tests.get('Strip[1].label', string=True), 'test1')
コード例 #5
0
 def test_it_sets_and_gets_strip2_mute_off(self):
     tests.set('Strip[2].Mute', 0)
     assert_equal(tests.get('Strip[2].Mute'), 0.0)
コード例 #6
0
 def test_it_sets_and_gets_strip0_label_test0(self):
     tests.set('Strip[0].label', 'test0')
     assert_equal(tests.get('Strip[0].label', string=True), 'test0')