Add missing tests (100% branch coverage!)
[nmigen-soc.git] / nmigen_soc / test / test_wishbone_bus.py
index 0c8b6d847b20c7c0cc9fa90af3074fdd89985f94..00da53012c51bb942962df4a358be76f297374b3 100644 (file)
@@ -76,7 +76,7 @@ class InterfaceTestCase(unittest.TestCase):
                 r"Granularity must be one of 8, 16, 32, 64, not 7"):
             Interface(addr_width=0, data_width=32, granularity=7)
 
-    def test_wrong_granularity(self):
+    def test_wrong_granularity_wide(self):
         with self.assertRaisesRegex(ValueError,
                 r"Granularity 32 may not be greater than data width 8"):
             Interface(addr_width=0, data_width=8, granularity=32)