From b93a54ac58f433ec7833766f21dd7c9daaf04ad7 Mon Sep 17 00:00:00 2001 From: Robin Ole Heinemann Date: Tue, 18 May 2021 21:15:02 +0200 Subject: [PATCH] tests.test_hdl_cd.ClockDomainTestCase.test_name: actually test domain with cd_ prefix --- tests/test_hdl_cd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_hdl_cd.py b/tests/test_hdl_cd.py index 4e93fbc..51cf845 100644 --- a/tests/test_hdl_cd.py +++ b/tests/test_hdl_cd.py @@ -15,7 +15,7 @@ class ClockDomainTestCase(FHDLTestCase): self.assertEqual(pix.clk.name, "pix_clk") self.assertEqual(pix.rst.name, "pix_rst") cd_pix = ClockDomain() - self.assertEqual(pix.name, "pix") + self.assertEqual(cd_pix.name, "pix") dom = [ClockDomain("foo")][0] self.assertEqual(dom.name, "foo") with self.assertRaisesRegex(ValueError, -- 2.30.2