Skip to content

Commit

Permalink
Gracefully skip tests when file is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielKS committed Nov 5, 2024
1 parent e0bd0b2 commit 3a8aced
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_psse_export.jl
Original file line number Diff line number Diff line change
Expand Up @@ -356,13 +356,15 @@ end
# I test so much, my tests have tests
@testset "Test system comparison utilities" begin
sys = load_test_system()
isnothing(sys) && return

@test compare_systems_wrapper(sys, sys)
@test compare_systems_wrapper(sys, deepcopy(sys))
end

@testset "PSSE Exporter with system_240[32].json, v33" begin
sys = load_test_system()
isnothing(sys) && return

# PSS/E version must be one of the supported ones
@test_throws ArgumentError PSSEExporter(sys, :vNonexistent, test_psse_export_dir)
Expand Down

0 comments on commit 3a8aced

Please sign in to comment.