From 624b8287966417e28b7cc63562affe8086cea415 Mon Sep 17 00:00:00 2001 From: Mike Naberezny Date: Sun, 21 Aug 2011 15:38:58 -0700 Subject: [PATCH] Add test that "mpu" command is not case sensitive --- src/py65/tests/test_monitor.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/py65/tests/test_monitor.py b/src/py65/tests/test_monitor.py index c266287..cd8085e 100644 --- a/src/py65/tests/test_monitor.py +++ b/src/py65/tests/test_monitor.py @@ -318,6 +318,12 @@ class MonitorTests(unittest.TestCase): self.assertEqual('Reset with new MPU 65C02', lines[0]) self.assertEqual('65C02', mon._mpu.name) + def test_mpu_select_is_not_case_sensitive(self): + stdout = StringIO() + mon = Monitor(stdout=stdout) + mon.do_mpu('65c02') + self.assertEqual('65C02', mon._mpu.name) + def test_help_mpu(self): stdout = StringIO() mon = Monitor(stdout=stdout)