From a4a79ce18e45d1b4b6762c4a7cf5f7151d3cb8a2 Mon Sep 17 00:00:00 2001 From: Venkateshprasad <32921645+ven-k@users.noreply.github.com> Date: Mon, 26 Feb 2024 10:16:58 +0530 Subject: [PATCH] test: use MyMockModule for testing parent-module --- test/model_parsing.jl | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/test/model_parsing.jl b/test/model_parsing.jl index 3d6da78eab..dafe46d388 100644 --- a/test/model_parsing.jl +++ b/test/model_parsing.jl @@ -689,14 +689,6 @@ end @test getdefault(component.written_out_for_2.sc) == 3 end -module GetParentModule - -using ModelingToolkit - -@mtkmodel Component begin end - -end - @testset "Parent module of Models" begin - @test parentmodule(GetParentModule.Component) == GetParentModule + @test parentmodule(MyMockModule.Ground) == MyMockModule end