Skip to content

Commit

Permalink
remove duplicate switches and coils in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jabdoa2 committed Nov 18, 2016
1 parent ca52499 commit e2d3812
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mpf/tests/machine_files/p3_roc/config/config.yaml
Expand Up @@ -9,7 +9,7 @@ switches:
s_test_000:
number: A0-B0-0
s_test_001:
number: 0/0/1
number: 0/0/3
s_test:
number: A1-B0-7
s_test_no_debounce:
Expand Down
2 changes: 1 addition & 1 deletion mpf/tests/machine_files/p_roc/config/config.yaml
Expand Up @@ -11,7 +11,7 @@ switches:
s_test_000:
number: 0
s_test_001:
number: 1
number: 2
s_test:
number: 23
s_test_no_debounce:
Expand Down
2 changes: 1 addition & 1 deletion mpf/tests/test_P3_Roc.py
Expand Up @@ -447,7 +447,7 @@ def test_servo_via_i2c(self):
def test_initial_switches(self):
self.assertFalse(self.machine.switch_controller.is_active("s_test"))
self.assertFalse(self.machine.switch_controller.is_active("s_test_000"))
self.assertTrue(self.machine.switch_controller.is_active("s_test_001"))
self.assertTrue(self.machine.switch_controller.is_active("s_flipper"))

def test_switches(self):
self.assertFalse(self.machine.switch_controller.is_active("s_test"))
Expand Down
2 changes: 1 addition & 1 deletion mpf/tests/test_P_Roc.py
Expand Up @@ -131,7 +131,7 @@ def test_hw_rule_pulse(self):
def test_initial_switches(self):
self.assertFalse(self.machine.switch_controller.is_active("s_test"))
self.assertFalse(self.machine.switch_controller.is_active("s_test_000"))
self.assertTrue(self.machine.switch_controller.is_active("s_test_001"))
self.assertTrue(self.machine.switch_controller.is_active("s_direct"))

def test_switches(self):
self.machine.default_platform.proc.switch_update_rule.assert_has_calls([
Expand Down

0 comments on commit e2d3812

Please sign in to comment.