diff --git a/tests/unit/Instantiate.py b/tests/unit/Instantiate.py index 09143cc63..114585b89 100644 --- a/tests/unit/Instantiate.py +++ b/tests/unit/Instantiate.py @@ -90,7 +90,8 @@ def test_Entity(self): self.assertTrue(len(entity.BodyItems) == 0) def test_Architecture(self): - architecture = Architecture("arch_1") + entity = Entity("entity_1") + architecture = Architecture("arch_1", entity) self.assertIsNotNone(architecture) self.assertTrue(architecture.Name == "arch_1") @@ -142,7 +143,7 @@ def test_Real(self): self.assertTrue(real.Name == "real") def test_Array(self): - array = ArrayType("bit_vector") + array = ArrayType("bit_vector", [], None) self.assertIsNotNone(array) self.assertTrue(array.Name == "bit_vector")