Skip to content

Commit

Permalink
add a simple test for the lha (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Feb 5, 2025
1 parent f468706 commit bd519e1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/job/adapters/linux_host_test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
require 'test_helper'

class LinuxHostTest < Minitest::Test
include TestHelper

def linux_host_instance(config = { singularity_image: '/dev/null' })
OodCore::Job::Factory.build({ adapter: 'linux_host' }.merge(config))
end

def test_instantiation
lha = linux_host_instance

refute_nil(lha)
end
end

0 comments on commit bd519e1

Please sign in to comment.